Created
September 11, 2017 08:41
-
-
Save raghur/f3eab7297691f2f411eec69b8032daf0 to your computer and use it in GitHub Desktop.
QPDF command to remove file restrictions from password protected pdf file.
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
# remove pdf file restrictions from password protected pdf file. | |
qpdf.exe --decrypt --password=verysecret input.pdf output.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The command changes the password; to actually remove the password, I used this in a
PowerShell
console.qpdf.exe --decrypt --password="" input.pdf output.pdf