Yuce's Blog

Cognitive dissonance is yoga for the brain.*

Merging PDF Files Using Ghostscript

2009-10-14

If you have to merge PDF files, you need no other than Ghost­script (which is installed by default with many Linux dis­tri­b­u­tions). Here's the command line:

gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=firstANDsecond.pdf -dBATCH first.pdf second.pdf

pdf, ghostscript, tips