Shrink PDF In Linux

Last modified: 
Saturday, 30. September 2017 - 9:14

Here is a great reference how to compress and reduce the size of PDF files with Ghost Scrip (gs) in Linux:

Example: "gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -sOutputFile=output.pdf input.pdf"

Split PDF


Example: "pdftk myoldfile.pdf cat 1 2 4 5 output mynewfile.pdf"

Merge PDF

pdftk input-file-1.pdf input-file-2.pdf cat output output.pdf

Edit PDF

You can edit PDF files in libre office draw or in harder cases you might try Master PDF Editor (