Skip to content

Instantly share code, notes, and snippets.

@pstaender
Created November 11, 2013 12:07
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save pstaender/7412245 to your computer and use it in GitHub Desktop.
Save pstaender/7412245 to your computer and use it in GitHub Desktop.
Remove password from protected PDF file with GhostScript
gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=unencrypted.pdf -c .setpdfwrite -f encrypted.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment