Use ghostscript to combine multiple PDF files
Use Ghostscript to combine several pdf files into one file.
Using the following syntax several seperate PDF files can be combined into one file.
Each input file will be on a new page in the new combined file.
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=finished.pdf file1.pdf file2.pdf ...
The command options are as follows:
-dBATCH = process files then stop, otherwise becomes daemonBack to GNU/Linux Application Tips
-dNOPAUSE = No user interaction between pages
-q = Quiet, no progress messages
-sDEVICE=pdfwrite = Filter to use, write output to a pdf file
-sOutputFile=finished.pdf = The file that will be the combined pdfs