- 318,566 hits
Anything about Ubuntu, Centos, openSuSe and Fedora
In MS and OSX it is easy to combine several PDF files into one file, using Adobe Acrobat,an application that’s currently absent in Linux systems, but there are number of programs that can cope up to this sort comings. One of them is ghostscript.
Joining PDFs using Ghostscript.
Ghostscript is a package that enables you to view or print PostScript and PDF files to other formats, or to convert those files to other formats. It’s a popular tool among Linux users, but what many people don’t know is that Ghostscript is also a powerful tool for combining PDF files.
To use Ghostscript to combine PDF files, type something like the following:
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=finished.pdf file1.pdf file2.pdf
Unless you’re very familiar with Ghostscript, that string of commands won’t mean much to you. Here’s a quick breakdown: