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:

  1. dos2unix on Ubuntu and Debian
  2. Crack pdf password with pdfcrack
  3. Bash shortcuts tips and tricks
  4. Upgrading to Ubuntu 9.04
  5. Track file downloads and outgoing links with Google Analytics
  6. How to mount bin / cue image files in Linux
  7. Executing SQL Statements from a Text File
  8. HackerGuide: Crack Password Encrypted Zip-files
  9. HackerGuide: Syn-Flood Attack
  10. Howto Install Oracle on Debian

Popular Related Items »

Leave a Comment