Merge / Concatenate PDF files with Ghostscript

The GhostScript tool makes a pretty good job when it comes to concatenation of PDF files or PostScript.

A bunch of PS or PDF files can be merged into one multi-paged PDF document. See this example:

gs -q -sPAPERSIZE=a4 -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=outputfile.pdf inputfile1.pdf inputfile2.pdf ...

 

Creds to Matthew Skala for pointing this out. The example above is for the A4 paper size standard. Substituting a4 with letter will do the trick for our American friends... :-)

 

Reference

How to concatenate PDFs without pain


Previous page: Euro Business Guide scam
Next page: DVD burning