Last active
December 28, 2015 05:49
-
-
Save vool/7452847 to your computer and use it in GitHub Desktop.
handy linux commands for working with pdf's
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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