Is there a command line pdf joiner somewhere out there ?
I need to join about 300 pdf files (well, 368 to be exact, not including toc and frontpage) and I can't see any way to do it simply using foxit editor.

Since I've had to do this a few times now, I'd like something simple and preferably scriptable so the whole process can be automated.


Depending on what OS you're running, The PDF Toolkit should work.

Straight from their docs:

pdftk 1.pdf 2.pdf 3.pdf cat output 123.pdf
  • Given the number of files, a wildcard would be more useful. pdftk *.pdf cat output combined.pdf – Dentrasi Aug 13 '09 at 21:53
  • Hopefully he gets the idea. I just copy/pasted it from the toolkit's website. =-] – Jack M. Aug 13 '09 at 22:00
  • I'm just downloading it, and if it works like they say, then it will be the exact thing I was hoping to find. Thanks (I was looking for Windows solution, btw) !! – Rook Aug 13 '09 at 22:30
  • 1
    @dentrasi - I created the filenames, so I can easily recreate the list in the right order. Besides, how would you use a wildcard without knowing the order in which they need to be joined ? – Rook Aug 13 '09 at 22:31

PDF Split and Merge is a tool I've had great success with, and it comes in GUI and command-line flavours. If the command-line version is anything like the GUI, you should have no problem scripting a solution.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.