Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 3 down vote accepted

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
share|improve this answer
    
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.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .