pdf_unlock

Removes the password protection from a PDF

Give this a path to a PDF that’s locked with password protection and it’ll generate a copy without the password protection.

Prerequisites: ghostscript (brew install ghostscript)

Usage

USAGE: pdfunlock <path/to/pdf>
       Removes the password protection from a pdf.
       Outputs a new file in the same directory as
       the original. Same name prefixed with "unlocked_"

Metadata:

Tags:

  • pdf
  • security