How to reverse the page order of a PDF file?2019 Community Moderator ElectionHow can I shuffle pages from a pdf file in a random order?How to change the color of all highlights in a PDF file?How can I remove a clickable bar with hyperlink in each page of a pdf file?Splitting a PDF file with Ghostscript results in one extra blank pageHow to convert this chm file to pdf?collect and print multiple pages to single pdf file in linuxRemove a horizontal top strip on all pages of a pdf fileHow to add a PDF file to another PDF file after a given page?Command line tool to create a pdf file with a4 sized pages from a poster pdfHow can I split each PDF page into two pages, using the command line?mutool pdf split and order
Why is the sun approximated as a black body at ~ 5800 K?
Typing CO_2 easily
Check if object is null and return null
How to I force windows to use a specific version of SQLCMD?
Mimic lecturing on blackboard, facing audience
Given this phrasing in the lease, when should I pay my rent?
Identifying "long and narrow" polygons in with PostGIS
Giving feedback to someone without sounding prejudiced
Echo with obfuscation
Can you identify this lizard-like creature I observed in the UK?
Why is participating in the European Parliamentary elections used as a threat?
Sigmoid with a slope but no asymptotes?
Why didn’t Eve recognize the little cockroach as a living organism?
What should be the ideal length of sentences in a blog post for ease of reading?
How to get directions in deep space?
SOQL query causes internal Salesforce error
Grepping string, but include all non-blank lines following each grep match
Would this string work as string?
What is the smallest number n> 5 so that 5 ^ n ends with "3125"?
Animation: customize bounce interpolation
Anime with legendary swords made from talismans and a man who could change them with a shattered body
Air travel with refrigerated insulin
Can I run 125kHz RF circuit on a breadboard?
Do you waste sorcery points if you try to apply metamagic to a spell from a scroll but fail to cast it?
How to reverse the page order of a PDF file?
2019 Community Moderator ElectionHow can I shuffle pages from a pdf file in a random order?How to change the color of all highlights in a PDF file?How can I remove a clickable bar with hyperlink in each page of a pdf file?Splitting a PDF file with Ghostscript results in one extra blank pageHow to convert this chm file to pdf?collect and print multiple pages to single pdf file in linuxRemove a horizontal top strip on all pages of a pdf fileHow to add a PDF file to another PDF file after a given page?Command line tool to create a pdf file with a4 sized pages from a poster pdfHow can I split each PDF page into two pages, using the command line?mutool pdf split and order
Is there an easy (preferably command line) way to reverse the pages in a PDF file?
add a comment |
Is there an easy (preferably command line) way to reverse the pages in a PDF file?
add a comment |
Is there an easy (preferably command line) way to reverse the pages in a PDF file?
Is there an easy (preferably command line) way to reverse the pages in a PDF file?
asked Apr 25 '18 at 12:01
user905686user905686
3541417
3541417
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
PDFtk can also do this (it’s available in most distributions as pdftk
):
pdftk myfile.pdf cat end-1 output myfilereversed.pdf
It's not available on Arch Linux (only via AUR) and there might be a good reason for that. Anyway, in that case, pdfjam is a good alternative.
– user905686
Apr 25 '18 at 14:03
@user905686 agreed, I’m presenting this as an alternative, not saying usingpdfjam
is wrong ;-).
– Stephen Kitt
Apr 25 '18 at 14:04
add a comment |
One can make use of pdfjam
which provides a front end to the "pdfpages" LaTeX package (and thus comes for example with texlive).
It generally allows to create a new PDF file by selecting pages from multiple PDF files. Particularly it allows to specify decending ranges, using "last" to refer to the last page:
pdfjam myfile.pdf 'last-1' --outfile myfilereversed.pdf
reverses myfile.pdf
.
For further possibilities see pdfjam --help
and the documentation of pdfpages.
add a comment |
You can use qpdf:
qpdf --empty --pages infile.pdf z-1 -- outfile.pdf
You can find more information here on page 11.
New contributor
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f439959%2fhow-to-reverse-the-page-order-of-a-pdf-file%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
PDFtk can also do this (it’s available in most distributions as pdftk
):
pdftk myfile.pdf cat end-1 output myfilereversed.pdf
It's not available on Arch Linux (only via AUR) and there might be a good reason for that. Anyway, in that case, pdfjam is a good alternative.
– user905686
Apr 25 '18 at 14:03
@user905686 agreed, I’m presenting this as an alternative, not saying usingpdfjam
is wrong ;-).
– Stephen Kitt
Apr 25 '18 at 14:04
add a comment |
PDFtk can also do this (it’s available in most distributions as pdftk
):
pdftk myfile.pdf cat end-1 output myfilereversed.pdf
It's not available on Arch Linux (only via AUR) and there might be a good reason for that. Anyway, in that case, pdfjam is a good alternative.
– user905686
Apr 25 '18 at 14:03
@user905686 agreed, I’m presenting this as an alternative, not saying usingpdfjam
is wrong ;-).
– Stephen Kitt
Apr 25 '18 at 14:04
add a comment |
PDFtk can also do this (it’s available in most distributions as pdftk
):
pdftk myfile.pdf cat end-1 output myfilereversed.pdf
PDFtk can also do this (it’s available in most distributions as pdftk
):
pdftk myfile.pdf cat end-1 output myfilereversed.pdf
answered Apr 25 '18 at 12:08
Stephen KittStephen Kitt
177k24402479
177k24402479
It's not available on Arch Linux (only via AUR) and there might be a good reason for that. Anyway, in that case, pdfjam is a good alternative.
– user905686
Apr 25 '18 at 14:03
@user905686 agreed, I’m presenting this as an alternative, not saying usingpdfjam
is wrong ;-).
– Stephen Kitt
Apr 25 '18 at 14:04
add a comment |
It's not available on Arch Linux (only via AUR) and there might be a good reason for that. Anyway, in that case, pdfjam is a good alternative.
– user905686
Apr 25 '18 at 14:03
@user905686 agreed, I’m presenting this as an alternative, not saying usingpdfjam
is wrong ;-).
– Stephen Kitt
Apr 25 '18 at 14:04
It's not available on Arch Linux (only via AUR) and there might be a good reason for that. Anyway, in that case, pdfjam is a good alternative.
– user905686
Apr 25 '18 at 14:03
It's not available on Arch Linux (only via AUR) and there might be a good reason for that. Anyway, in that case, pdfjam is a good alternative.
– user905686
Apr 25 '18 at 14:03
@user905686 agreed, I’m presenting this as an alternative, not saying using
pdfjam
is wrong ;-).– Stephen Kitt
Apr 25 '18 at 14:04
@user905686 agreed, I’m presenting this as an alternative, not saying using
pdfjam
is wrong ;-).– Stephen Kitt
Apr 25 '18 at 14:04
add a comment |
One can make use of pdfjam
which provides a front end to the "pdfpages" LaTeX package (and thus comes for example with texlive).
It generally allows to create a new PDF file by selecting pages from multiple PDF files. Particularly it allows to specify decending ranges, using "last" to refer to the last page:
pdfjam myfile.pdf 'last-1' --outfile myfilereversed.pdf
reverses myfile.pdf
.
For further possibilities see pdfjam --help
and the documentation of pdfpages.
add a comment |
One can make use of pdfjam
which provides a front end to the "pdfpages" LaTeX package (and thus comes for example with texlive).
It generally allows to create a new PDF file by selecting pages from multiple PDF files. Particularly it allows to specify decending ranges, using "last" to refer to the last page:
pdfjam myfile.pdf 'last-1' --outfile myfilereversed.pdf
reverses myfile.pdf
.
For further possibilities see pdfjam --help
and the documentation of pdfpages.
add a comment |
One can make use of pdfjam
which provides a front end to the "pdfpages" LaTeX package (and thus comes for example with texlive).
It generally allows to create a new PDF file by selecting pages from multiple PDF files. Particularly it allows to specify decending ranges, using "last" to refer to the last page:
pdfjam myfile.pdf 'last-1' --outfile myfilereversed.pdf
reverses myfile.pdf
.
For further possibilities see pdfjam --help
and the documentation of pdfpages.
One can make use of pdfjam
which provides a front end to the "pdfpages" LaTeX package (and thus comes for example with texlive).
It generally allows to create a new PDF file by selecting pages from multiple PDF files. Particularly it allows to specify decending ranges, using "last" to refer to the last page:
pdfjam myfile.pdf 'last-1' --outfile myfilereversed.pdf
reverses myfile.pdf
.
For further possibilities see pdfjam --help
and the documentation of pdfpages.
answered Apr 25 '18 at 12:01
user905686user905686
3541417
3541417
add a comment |
add a comment |
You can use qpdf:
qpdf --empty --pages infile.pdf z-1 -- outfile.pdf
You can find more information here on page 11.
New contributor
add a comment |
You can use qpdf:
qpdf --empty --pages infile.pdf z-1 -- outfile.pdf
You can find more information here on page 11.
New contributor
add a comment |
You can use qpdf:
qpdf --empty --pages infile.pdf z-1 -- outfile.pdf
You can find more information here on page 11.
New contributor
You can use qpdf:
qpdf --empty --pages infile.pdf z-1 -- outfile.pdf
You can find more information here on page 11.
New contributor
New contributor
answered 23 hours ago
SaTaSaTa
1
1
New contributor
New contributor
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f439959%2fhow-to-reverse-the-page-order-of-a-pdf-file%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown