Created
April 1, 2021 20:44
-
-
Save markusritschel/6a932237735faa8d42ec8f367587a15a to your computer and use it in GitHub Desktop.
Remove all annotations from a PDF
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
pdftk in.pdf output - uncompress | sed '/^\/Annots/d' | pdftk - output out.pdf compress |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment