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










2















Is there an easy (preferably command line) way to reverse the pages in a PDF file?










share|improve this question


























    2















    Is there an easy (preferably command line) way to reverse the pages in a PDF file?










    share|improve this question
























      2












      2








      2








      Is there an easy (preferably command line) way to reverse the pages in a PDF file?










      share|improve this question














      Is there an easy (preferably command line) way to reverse the pages in a PDF file?







      pdf






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 25 '18 at 12:01









      user905686user905686

      3541417




      3541417




















          3 Answers
          3






          active

          oldest

          votes


















          5














          PDFtk can also do this (it’s available in most distributions as pdftk):



          pdftk myfile.pdf cat end-1 output myfilereversed.pdf





          share|improve this answer























          • 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


















          3














          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.






          share|improve this answer






























            0














            You can use qpdf:



            qpdf --empty --pages infile.pdf z-1 -- outfile.pdf


            You can find more information here on page 11.






            share|improve this answer








            New contributor




            SaTa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.



















              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
              );



              );













              draft saved

              draft discarded


















              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









              5














              PDFtk can also do this (it’s available in most distributions as pdftk):



              pdftk myfile.pdf cat end-1 output myfilereversed.pdf





              share|improve this answer























              • 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















              5














              PDFtk can also do this (it’s available in most distributions as pdftk):



              pdftk myfile.pdf cat end-1 output myfilereversed.pdf





              share|improve this answer























              • 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













              5












              5








              5







              PDFtk can also do this (it’s available in most distributions as pdftk):



              pdftk myfile.pdf cat end-1 output myfilereversed.pdf





              share|improve this answer













              PDFtk can also do this (it’s available in most distributions as pdftk):



              pdftk myfile.pdf cat end-1 output myfilereversed.pdf






              share|improve this answer












              share|improve this answer



              share|improve this answer










              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 using pdfjam 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











              • @user905686 agreed, I’m presenting this as an alternative, not saying using pdfjam 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













              3














              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.






              share|improve this answer



























                3














                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.






                share|improve this answer

























                  3












                  3








                  3







                  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.






                  share|improve this answer













                  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.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Apr 25 '18 at 12:01









                  user905686user905686

                  3541417




                  3541417





















                      0














                      You can use qpdf:



                      qpdf --empty --pages infile.pdf z-1 -- outfile.pdf


                      You can find more information here on page 11.






                      share|improve this answer








                      New contributor




                      SaTa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                      Check out our Code of Conduct.
























                        0














                        You can use qpdf:



                        qpdf --empty --pages infile.pdf z-1 -- outfile.pdf


                        You can find more information here on page 11.






                        share|improve this answer








                        New contributor




                        SaTa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                        Check out our Code of Conduct.






















                          0












                          0








                          0







                          You can use qpdf:



                          qpdf --empty --pages infile.pdf z-1 -- outfile.pdf


                          You can find more information here on page 11.






                          share|improve this answer








                          New contributor




                          SaTa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.










                          You can use qpdf:



                          qpdf --empty --pages infile.pdf z-1 -- outfile.pdf


                          You can find more information here on page 11.







                          share|improve this answer








                          New contributor




                          SaTa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.









                          share|improve this answer



                          share|improve this answer






                          New contributor




                          SaTa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.









                          answered 23 hours ago









                          SaTaSaTa

                          1




                          1




                          New contributor




                          SaTa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.





                          New contributor





                          SaTa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.






                          SaTa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.



























                              draft saved

                              draft discarded
















































                              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.




                              draft saved


                              draft discarded














                              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





















































                              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







                              Popular posts from this blog

                              getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

                              Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

                              Marilyn Monroe Ny fiainany manokana | Jereo koa | Meny fitetezanafanitarana azy.