Linux: Merging several pdf files into one using ghostscript

#Merge file1.pdf and file2.pdf into merged.pdf: $> gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=merged.pdf file1.pdf file2.pdf
To use this command, ghostscript utility must be installed:
sudo apt-get install ghostscript (ubuntu and other debian based)

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.