Merge pdfs sequentiallyMerging PDF files TogetherWhat tools allow for creation and editing of a PDF document on OS X?How can I combine PDF files and automatically create a table of contents?Drawbacks to merging PDFs in Preview.appHow to merge two JPEG files back into a single JPEG (Both sides of a receipt in single image)Fancy merging of PDFsShell script to combine PDFs, renaming outputAutomate removing the first page of a bunch of PDFsStitch PDFs with a small overlayCan AppleScript execute a Python script?How to merge multiple image files into one pdf file with page and its original size for every image?

How to teach an undergraduate course without having taken that course formally before?

Why was this character made Grand Maester?

Where is Jon going?

ifconfig shows UP while ip link shows DOWN

Can diplomats be allowed on the flight deck of a commercial European airline?

Can a UK national work as a paid shop assistant in the USA?

What is to the west of Westeros?

Are there guidelines for finding good names for LaTeX 2e packages and control sequences defined in these packages?

How to write numbers and percentage?

Why does the painters tape have to be blue?

Why is this integration method not valid?

How does the Earth's center produce heat?

'Select @VAR =' and 'Set @VAR =' behaving unexpectedly

Why A=2 and B=1 in the call signs for Spirit and Opportunity?

How does Dreadhorde Arcanist interact with split cards?

Negative impact of having the launch pad away from the Equator

Who were the members of the jury in the Game of Thrones finale?

Why do testers need root cause analysis?

How do you earn the reader's trust?

Why is 'additive' EQ more difficult to use than 'subtractive'?

Was this scene in S8E06 added because of fan reactions to S8E04?

Could a rotating ring space station have a bolo-like extension?

(For training purposes) Are there any openings with rook pawns that are more effective than others (and if so, what are they)?

What happened to the Dothraki in S08E06?



Merge pdfs sequentially


Merging PDF files TogetherWhat tools allow for creation and editing of a PDF document on OS X?How can I combine PDF files and automatically create a table of contents?Drawbacks to merging PDFs in Preview.appHow to merge two JPEG files back into a single JPEG (Both sides of a receipt in single image)Fancy merging of PDFsShell script to combine PDFs, renaming outputAutomate removing the first page of a bunch of PDFsStitch PDFs with a small overlayCan AppleScript execute a Python script?How to merge multiple image files into one pdf file with page and its original size for every image?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








3















I would like to merge 4 pdfs, pdf1.pdf, pdf2.pdf, pdf3.pdf pdf4.pdf together so that the pdfs are spliced, i.e. the first page will be the first page of pdf1, the second the first of pdf2, the third the first of pdf3, etc.



The pdf files are with plain images, no table of contents.



How would I accomplish this? It would be nice to do it from Terminal as well.










share|improve this question









New contributor



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














  • 1





    Possible duplicate of Merging PDF files Together

    – Edd Growl
    6 hours ago











  • Welcome to ASE, Michael. @EddGrowl I dont think so. It will need apple script. Although the question linked can be helpful for scripting.

    – ankiiiiiii
    6 hours ago











  • Do all all the PDF files have the same page count? Do any of the PDF file have a Table of Contents, or are then just plain PDF files with plain pages?

    – user3439894
    6 hours ago











  • they are just pdf files with plain images, no table of contents.

    – Michael Klyachman
    6 hours ago






  • 1





    @Michael Klyachman, I've removed "Solved using the PyPDF2 module." from the question as answers belong in their own answer, not the question. Feel free to post your own answer, which you can even accept as the accepted answer for you, and thus increasing your reputation points.

    – user3439894
    3 hours ago

















3















I would like to merge 4 pdfs, pdf1.pdf, pdf2.pdf, pdf3.pdf pdf4.pdf together so that the pdfs are spliced, i.e. the first page will be the first page of pdf1, the second the first of pdf2, the third the first of pdf3, etc.



The pdf files are with plain images, no table of contents.



How would I accomplish this? It would be nice to do it from Terminal as well.










share|improve this question









New contributor



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














  • 1





    Possible duplicate of Merging PDF files Together

    – Edd Growl
    6 hours ago











  • Welcome to ASE, Michael. @EddGrowl I dont think so. It will need apple script. Although the question linked can be helpful for scripting.

    – ankiiiiiii
    6 hours ago











  • Do all all the PDF files have the same page count? Do any of the PDF file have a Table of Contents, or are then just plain PDF files with plain pages?

    – user3439894
    6 hours ago











  • they are just pdf files with plain images, no table of contents.

    – Michael Klyachman
    6 hours ago






  • 1





    @Michael Klyachman, I've removed "Solved using the PyPDF2 module." from the question as answers belong in their own answer, not the question. Feel free to post your own answer, which you can even accept as the accepted answer for you, and thus increasing your reputation points.

    – user3439894
    3 hours ago













3












3








3


2






I would like to merge 4 pdfs, pdf1.pdf, pdf2.pdf, pdf3.pdf pdf4.pdf together so that the pdfs are spliced, i.e. the first page will be the first page of pdf1, the second the first of pdf2, the third the first of pdf3, etc.



The pdf files are with plain images, no table of contents.



How would I accomplish this? It would be nice to do it from Terminal as well.










share|improve this question









New contributor



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











I would like to merge 4 pdfs, pdf1.pdf, pdf2.pdf, pdf3.pdf pdf4.pdf together so that the pdfs are spliced, i.e. the first page will be the first page of pdf1, the second the first of pdf2, the third the first of pdf3, etc.



The pdf files are with plain images, no table of contents.



How would I accomplish this? It would be nice to do it from Terminal as well.







pdf






share|improve this question









New contributor



Michael Klyachman 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 question









New contributor



Michael Klyachman 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 question




share|improve this question








edited 3 hours ago









user3439894

29.8k64669




29.8k64669






New contributor



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








asked 7 hours ago









Michael KlyachmanMichael Klyachman

163




163




New contributor



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




New contributor




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









  • 1





    Possible duplicate of Merging PDF files Together

    – Edd Growl
    6 hours ago











  • Welcome to ASE, Michael. @EddGrowl I dont think so. It will need apple script. Although the question linked can be helpful for scripting.

    – ankiiiiiii
    6 hours ago











  • Do all all the PDF files have the same page count? Do any of the PDF file have a Table of Contents, or are then just plain PDF files with plain pages?

    – user3439894
    6 hours ago











  • they are just pdf files with plain images, no table of contents.

    – Michael Klyachman
    6 hours ago






  • 1





    @Michael Klyachman, I've removed "Solved using the PyPDF2 module." from the question as answers belong in their own answer, not the question. Feel free to post your own answer, which you can even accept as the accepted answer for you, and thus increasing your reputation points.

    – user3439894
    3 hours ago












  • 1





    Possible duplicate of Merging PDF files Together

    – Edd Growl
    6 hours ago











  • Welcome to ASE, Michael. @EddGrowl I dont think so. It will need apple script. Although the question linked can be helpful for scripting.

    – ankiiiiiii
    6 hours ago











  • Do all all the PDF files have the same page count? Do any of the PDF file have a Table of Contents, or are then just plain PDF files with plain pages?

    – user3439894
    6 hours ago











  • they are just pdf files with plain images, no table of contents.

    – Michael Klyachman
    6 hours ago






  • 1





    @Michael Klyachman, I've removed "Solved using the PyPDF2 module." from the question as answers belong in their own answer, not the question. Feel free to post your own answer, which you can even accept as the accepted answer for you, and thus increasing your reputation points.

    – user3439894
    3 hours ago







1




1





Possible duplicate of Merging PDF files Together

– Edd Growl
6 hours ago





Possible duplicate of Merging PDF files Together

– Edd Growl
6 hours ago













Welcome to ASE, Michael. @EddGrowl I dont think so. It will need apple script. Although the question linked can be helpful for scripting.

– ankiiiiiii
6 hours ago





Welcome to ASE, Michael. @EddGrowl I dont think so. It will need apple script. Although the question linked can be helpful for scripting.

– ankiiiiiii
6 hours ago













Do all all the PDF files have the same page count? Do any of the PDF file have a Table of Contents, or are then just plain PDF files with plain pages?

– user3439894
6 hours ago





Do all all the PDF files have the same page count? Do any of the PDF file have a Table of Contents, or are then just plain PDF files with plain pages?

– user3439894
6 hours ago













they are just pdf files with plain images, no table of contents.

– Michael Klyachman
6 hours ago





they are just pdf files with plain images, no table of contents.

– Michael Klyachman
6 hours ago




1




1





@Michael Klyachman, I've removed "Solved using the PyPDF2 module." from the question as answers belong in their own answer, not the question. Feel free to post your own answer, which you can even accept as the accepted answer for you, and thus increasing your reputation points.

– user3439894
3 hours ago





@Michael Klyachman, I've removed "Solved using the PyPDF2 module." from the question as answers belong in their own answer, not the question. Feel free to post your own answer, which you can even accept as the accepted answer for you, and thus increasing your reputation points.

– user3439894
3 hours ago










2 Answers
2






active

oldest

votes


















3














This can be done using a macOS default built-in, from either the command line or its GUI app the action belongs to.



To do as you requested from the command line, in Terminal, use the following command example:



"/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py" --shuffle -o /path/to/collated.pdf /path/to/file1.pdf /path/to/file2.pdf /path/to/file3.pdf /path/to/file4.pdf


To make the macOS built-in join.py script easier to use from the command line, I'd suggest you make a symbolic link for it. As an example, if you have /usr/local/bin in your PATH:



sudo ln -s "/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py" "/usr/local/bin/pdfjoin"


Afterwards, you can start the command with just pdfjoin instead of using its fully qualified pathname.




Below is a image of an Automator workflow to show an example of how it can be achieved using a macOS default built-in GUI app. Note that it can be modified many different ways to suit one's needs/wants.



enter image description here



Note: The Combine PDF Pages action, when used in Automator creates a temp file and why additional actions are needed to refine the workflow. You could just use the Open Finder Items action directly after and forgo the other actions, but of course you'll need to then manually save the opened new pdf file elsewhere.






share|improve this answer
































    2














    I do this in preview:



    Open the first one,



    Select the others,



    With the sidebar « thumbnails » visible, just drag and drop into the sidebar.



    Check order but usually they go in by name order...



    How I create my exams...



    Each one is one page, created in excel with headers and page numbers exported as pdf...






    share|improve this answer























    • this does not work, as it just puts the pdfs next to each other. I need it to go 1_1 1_2 1_3 1_4 2_1 2_2 2_3 2_4, where a_n represents the a-th page of pdf number n.

      – Michael Klyachman
      6 hours ago











    • Don't know what you are doing - just done one exam with 7 pages, started with cover page and dropped the others in... works fine for me. You can drop 1 in at a time if you wish...

      – Solar Mike
      6 hours ago












    • dropping in 1 at a time is inefficient when dealing with a several-hundred-page pdf. I solved this using the PyPDF2 module.

      – Michael Klyachman
      5 hours ago











    • You did state 4 pdf's in your question, or did you mean 400?

      – Solar Mike
      5 hours ago











    • I meant 4 pdfs, each of which is several hundred pages long. Sorry if it came across differently.

      – Michael Klyachman
      5 hours ago



















    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    3














    This can be done using a macOS default built-in, from either the command line or its GUI app the action belongs to.



    To do as you requested from the command line, in Terminal, use the following command example:



    "/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py" --shuffle -o /path/to/collated.pdf /path/to/file1.pdf /path/to/file2.pdf /path/to/file3.pdf /path/to/file4.pdf


    To make the macOS built-in join.py script easier to use from the command line, I'd suggest you make a symbolic link for it. As an example, if you have /usr/local/bin in your PATH:



    sudo ln -s "/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py" "/usr/local/bin/pdfjoin"


    Afterwards, you can start the command with just pdfjoin instead of using its fully qualified pathname.




    Below is a image of an Automator workflow to show an example of how it can be achieved using a macOS default built-in GUI app. Note that it can be modified many different ways to suit one's needs/wants.



    enter image description here



    Note: The Combine PDF Pages action, when used in Automator creates a temp file and why additional actions are needed to refine the workflow. You could just use the Open Finder Items action directly after and forgo the other actions, but of course you'll need to then manually save the opened new pdf file elsewhere.






    share|improve this answer





























      3














      This can be done using a macOS default built-in, from either the command line or its GUI app the action belongs to.



      To do as you requested from the command line, in Terminal, use the following command example:



      "/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py" --shuffle -o /path/to/collated.pdf /path/to/file1.pdf /path/to/file2.pdf /path/to/file3.pdf /path/to/file4.pdf


      To make the macOS built-in join.py script easier to use from the command line, I'd suggest you make a symbolic link for it. As an example, if you have /usr/local/bin in your PATH:



      sudo ln -s "/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py" "/usr/local/bin/pdfjoin"


      Afterwards, you can start the command with just pdfjoin instead of using its fully qualified pathname.




      Below is a image of an Automator workflow to show an example of how it can be achieved using a macOS default built-in GUI app. Note that it can be modified many different ways to suit one's needs/wants.



      enter image description here



      Note: The Combine PDF Pages action, when used in Automator creates a temp file and why additional actions are needed to refine the workflow. You could just use the Open Finder Items action directly after and forgo the other actions, but of course you'll need to then manually save the opened new pdf file elsewhere.






      share|improve this answer



























        3












        3








        3







        This can be done using a macOS default built-in, from either the command line or its GUI app the action belongs to.



        To do as you requested from the command line, in Terminal, use the following command example:



        "/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py" --shuffle -o /path/to/collated.pdf /path/to/file1.pdf /path/to/file2.pdf /path/to/file3.pdf /path/to/file4.pdf


        To make the macOS built-in join.py script easier to use from the command line, I'd suggest you make a symbolic link for it. As an example, if you have /usr/local/bin in your PATH:



        sudo ln -s "/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py" "/usr/local/bin/pdfjoin"


        Afterwards, you can start the command with just pdfjoin instead of using its fully qualified pathname.




        Below is a image of an Automator workflow to show an example of how it can be achieved using a macOS default built-in GUI app. Note that it can be modified many different ways to suit one's needs/wants.



        enter image description here



        Note: The Combine PDF Pages action, when used in Automator creates a temp file and why additional actions are needed to refine the workflow. You could just use the Open Finder Items action directly after and forgo the other actions, but of course you'll need to then manually save the opened new pdf file elsewhere.






        share|improve this answer















        This can be done using a macOS default built-in, from either the command line or its GUI app the action belongs to.



        To do as you requested from the command line, in Terminal, use the following command example:



        "/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py" --shuffle -o /path/to/collated.pdf /path/to/file1.pdf /path/to/file2.pdf /path/to/file3.pdf /path/to/file4.pdf


        To make the macOS built-in join.py script easier to use from the command line, I'd suggest you make a symbolic link for it. As an example, if you have /usr/local/bin in your PATH:



        sudo ln -s "/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py" "/usr/local/bin/pdfjoin"


        Afterwards, you can start the command with just pdfjoin instead of using its fully qualified pathname.




        Below is a image of an Automator workflow to show an example of how it can be achieved using a macOS default built-in GUI app. Note that it can be modified many different ways to suit one's needs/wants.



        enter image description here



        Note: The Combine PDF Pages action, when used in Automator creates a temp file and why additional actions are needed to refine the workflow. You could just use the Open Finder Items action directly after and forgo the other actions, but of course you'll need to then manually save the opened new pdf file elsewhere.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 3 hours ago

























        answered 6 hours ago









        user3439894user3439894

        29.8k64669




        29.8k64669























            2














            I do this in preview:



            Open the first one,



            Select the others,



            With the sidebar « thumbnails » visible, just drag and drop into the sidebar.



            Check order but usually they go in by name order...



            How I create my exams...



            Each one is one page, created in excel with headers and page numbers exported as pdf...






            share|improve this answer























            • this does not work, as it just puts the pdfs next to each other. I need it to go 1_1 1_2 1_3 1_4 2_1 2_2 2_3 2_4, where a_n represents the a-th page of pdf number n.

              – Michael Klyachman
              6 hours ago











            • Don't know what you are doing - just done one exam with 7 pages, started with cover page and dropped the others in... works fine for me. You can drop 1 in at a time if you wish...

              – Solar Mike
              6 hours ago












            • dropping in 1 at a time is inefficient when dealing with a several-hundred-page pdf. I solved this using the PyPDF2 module.

              – Michael Klyachman
              5 hours ago











            • You did state 4 pdf's in your question, or did you mean 400?

              – Solar Mike
              5 hours ago











            • I meant 4 pdfs, each of which is several hundred pages long. Sorry if it came across differently.

              – Michael Klyachman
              5 hours ago
















            2














            I do this in preview:



            Open the first one,



            Select the others,



            With the sidebar « thumbnails » visible, just drag and drop into the sidebar.



            Check order but usually they go in by name order...



            How I create my exams...



            Each one is one page, created in excel with headers and page numbers exported as pdf...






            share|improve this answer























            • this does not work, as it just puts the pdfs next to each other. I need it to go 1_1 1_2 1_3 1_4 2_1 2_2 2_3 2_4, where a_n represents the a-th page of pdf number n.

              – Michael Klyachman
              6 hours ago











            • Don't know what you are doing - just done one exam with 7 pages, started with cover page and dropped the others in... works fine for me. You can drop 1 in at a time if you wish...

              – Solar Mike
              6 hours ago












            • dropping in 1 at a time is inefficient when dealing with a several-hundred-page pdf. I solved this using the PyPDF2 module.

              – Michael Klyachman
              5 hours ago











            • You did state 4 pdf's in your question, or did you mean 400?

              – Solar Mike
              5 hours ago











            • I meant 4 pdfs, each of which is several hundred pages long. Sorry if it came across differently.

              – Michael Klyachman
              5 hours ago














            2












            2








            2







            I do this in preview:



            Open the first one,



            Select the others,



            With the sidebar « thumbnails » visible, just drag and drop into the sidebar.



            Check order but usually they go in by name order...



            How I create my exams...



            Each one is one page, created in excel with headers and page numbers exported as pdf...






            share|improve this answer













            I do this in preview:



            Open the first one,



            Select the others,



            With the sidebar « thumbnails » visible, just drag and drop into the sidebar.



            Check order but usually they go in by name order...



            How I create my exams...



            Each one is one page, created in excel with headers and page numbers exported as pdf...







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered 6 hours ago









            Solar MikeSolar Mike

            2,0263917




            2,0263917












            • this does not work, as it just puts the pdfs next to each other. I need it to go 1_1 1_2 1_3 1_4 2_1 2_2 2_3 2_4, where a_n represents the a-th page of pdf number n.

              – Michael Klyachman
              6 hours ago











            • Don't know what you are doing - just done one exam with 7 pages, started with cover page and dropped the others in... works fine for me. You can drop 1 in at a time if you wish...

              – Solar Mike
              6 hours ago












            • dropping in 1 at a time is inefficient when dealing with a several-hundred-page pdf. I solved this using the PyPDF2 module.

              – Michael Klyachman
              5 hours ago











            • You did state 4 pdf's in your question, or did you mean 400?

              – Solar Mike
              5 hours ago











            • I meant 4 pdfs, each of which is several hundred pages long. Sorry if it came across differently.

              – Michael Klyachman
              5 hours ago


















            • this does not work, as it just puts the pdfs next to each other. I need it to go 1_1 1_2 1_3 1_4 2_1 2_2 2_3 2_4, where a_n represents the a-th page of pdf number n.

              – Michael Klyachman
              6 hours ago











            • Don't know what you are doing - just done one exam with 7 pages, started with cover page and dropped the others in... works fine for me. You can drop 1 in at a time if you wish...

              – Solar Mike
              6 hours ago












            • dropping in 1 at a time is inefficient when dealing with a several-hundred-page pdf. I solved this using the PyPDF2 module.

              – Michael Klyachman
              5 hours ago











            • You did state 4 pdf's in your question, or did you mean 400?

              – Solar Mike
              5 hours ago











            • I meant 4 pdfs, each of which is several hundred pages long. Sorry if it came across differently.

              – Michael Klyachman
              5 hours ago

















            this does not work, as it just puts the pdfs next to each other. I need it to go 1_1 1_2 1_3 1_4 2_1 2_2 2_3 2_4, where a_n represents the a-th page of pdf number n.

            – Michael Klyachman
            6 hours ago





            this does not work, as it just puts the pdfs next to each other. I need it to go 1_1 1_2 1_3 1_4 2_1 2_2 2_3 2_4, where a_n represents the a-th page of pdf number n.

            – Michael Klyachman
            6 hours ago













            Don't know what you are doing - just done one exam with 7 pages, started with cover page and dropped the others in... works fine for me. You can drop 1 in at a time if you wish...

            – Solar Mike
            6 hours ago






            Don't know what you are doing - just done one exam with 7 pages, started with cover page and dropped the others in... works fine for me. You can drop 1 in at a time if you wish...

            – Solar Mike
            6 hours ago














            dropping in 1 at a time is inefficient when dealing with a several-hundred-page pdf. I solved this using the PyPDF2 module.

            – Michael Klyachman
            5 hours ago





            dropping in 1 at a time is inefficient when dealing with a several-hundred-page pdf. I solved this using the PyPDF2 module.

            – Michael Klyachman
            5 hours ago













            You did state 4 pdf's in your question, or did you mean 400?

            – Solar Mike
            5 hours ago





            You did state 4 pdf's in your question, or did you mean 400?

            – Solar Mike
            5 hours ago













            I meant 4 pdfs, each of which is several hundred pages long. Sorry if it came across differently.

            – Michael Klyachman
            5 hours ago






            I meant 4 pdfs, each of which is several hundred pages long. Sorry if it came across differently.

            – Michael Klyachman
            5 hours ago




            Popular posts from this blog

            Siegen Nawigatsjuun

            Log på Navigationsmenu

            Log på Navigationsmenu