poetry install
poetry shell
pipx install git+https://github.com/IamShobe/scripts.git
this will install scripts package and install all the tools in this repo.
All commands support -o
flag (output) - if not specified - it will output into out.pdf
file in
current working directory.
unlock
- unlocks a pdf using password.pdftools unlock <source> -p <password> [-o <dest>]
extract-page
- extract a single page.pdftools extract-page <source> <page_number> [-o <dest>] [-p <password>]
merge
- merge multiple pdfs.pdftools merge <pdf> <pdfs>... [-o <dest>]