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: 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: