/scripts

Primary LanguagePython

Scripts - day to day useful scripts

Installing

poetry install

Run

poetry shell

Install locally

pipx install git+https://github.com/IamShobe/scripts.git

this will install scripts package and install all the tools in this repo.

Available scripts

pdftools

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