Simple CLI tool for decrypting PDF files.
Install this via pip (or your favourite package manager):
pipx install decryptpdf
> decryptpdf -h
Usage: decryptpdf [OPTIONS] PATH
Decrypts a PDF file.
If PATH is a directory, recursively searches for PDF files. If PATH is a
file and does not exist, checks if PATH with ".pdf" extension exists. If the
file is not encrypted, skips it.
Options:
-h, --help Show this message and exit.
-p, --password TEXT The password to decrypt the PDF file.
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!