Created
October 6, 2016 15:37
-
-
Save alobbs/60d63a5d4f1c116b88d68cbd493214b9 to your computer and use it in GitHub Desktop.
PDF Clean helper
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
pdfclean() { | |
exiftool -all:all= "$1" | |
qpdf --linearize "$1" "$1.tmp" | |
mv -f "$1.tmp" "$1" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment