Skip to content

Instantly share code, notes, and snippets.

@thetwopct
Created December 30, 2021 04:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thetwopct/e76d008dab23cda9380b45e1d8d39679 to your computer and use it in GitHub Desktop.
Save thetwopct/e76d008dab23cda9380b45e1d8d39679 to your computer and use it in GitHub Desktop.
Decrypt a PDF and remove password
# install qpdf
brew install qpdf
# run in the directory
qpdf --decrypt --password="password" "original.pdf" "new.pdf"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment