Created
November 7, 2016 07:16
-
-
Save 7h3rAm/eb03fbb068a6613649ad9e58eb0560f1 to your computer and use it in GitHub Desktop.
Nifty commands that come handy time and again.
This file contains hidden or 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
# remove password from a pdf file (if password is already known): | |
qpdf --decrypt --password=<password> infile outfile.pdf | |
# extract pages from a pdf file: | |
pdftk infile cat 3-6 output outfile.pdf | |
# merge pdfs: | |
pdftk *.pdf cat output outfile.pdf | |
# convert jpg to pdf: | |
convert -compress jpeg *.jpg outfile.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment