Combine Multiple PDFs Into One File
From time to time it is very useful to combine multiple PDF documents into one file.
Install gs (ghostscript) and pdftk (tool for manipulating PDF documents)
sudo aptitude install gs pdftk
Now we will see one example, which shows how to combine a few pdf files; 1.pdf,2.pdf,3.pdf.
gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=combined_pdf.pdf -dBATCH 1.pdf 2.pdf 3.pdf
If you want to know more options available for gs command check the gs man page
Related posts:
- dos2unix on Ubuntu and Debian
- Crack pdf password with pdfcrack
- Bash shortcuts tips and tricks
- Track file downloads and outgoing links with Google Analytics
- HackerGuide: Crack Password Encrypted Zip-files
- Howto: Install Ruby and Rails on Debian or Ubuntu
- Upgrading to Ubuntu 9.04
- How to mount bin / cue image files in Linux
- Executing SQL Statements from a Text File
- Crack zip password with fcrackzip
