Skip to content

Instantly share code, notes, and snippets.

@taitooz
Created August 7, 2013 02:46
Show Gist options
  • Save taitooz/6170757 to your computer and use it in GitHub Desktop.
Save taitooz/6170757 to your computer and use it in GitHub Desktop.
Unlock pdf
#ghostscript
gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=%stdout% -c .setpdfwrite -f locked.pdf > unlocked.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment