Combine pdf files
Posted: Mon Jan 20, 2014 4:47 pm
Here is a few ideas for combining pdf files via linux.
The below code will use ghostscript to create a pdf named indexp.pdf from all pdf files in the current directory.
They will be ordered by file name.
You can also use pdfjoin from pdfjam install.
The below code will use ghostscript to create a pdf named indexp.pdf from all pdf files in the current directory.
They will be ordered by file name.
Code: Select all
gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=indexp.pdf *.pdf