Skip to content

Instantly share code, notes, and snippets.

@vool
Last active December 28, 2015 05:49
Show Gist options
  • Save vool/7452847 to your computer and use it in GitHub Desktop.
Save vool/7452847 to your computer and use it in GitHub Desktop.
handy linux commands for working with pdf's
# compress a pdf with ghostscript
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=out.pdf in.pdf
#concatenate docs
pdftk 1.pdf 2.pdf 3.pdf support_docs/TCA_support.pdf cat output out.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment