A CLI tool for processing pdf files.
Built using PyPDF2
pip install -r requirements.txt
python procpdf.py <command> [option]
List of Commands and Options
-
listall [-e EXTENSION]
-
merge (-a | -n | -s FILENAME...| -e FILENAME...) [-o OUTPUT_FILENAME]
-
encrypt FILENAME [-R/--remove]
-
decrypt FILENAME [-R/--remove]
-
extractImg FILENAME # make sure the folder *extracted_images* is empty, if exists
-
compress FILENAME
-
metadata -r FILENAME metadata -w FILENAME [--author AUTHOR] [--creator CREATOR] [--producer PRODUCER] [--subject SUBJECT] [--title TITLE] [--new-filename FILENAME]
Run python procpdf.py <command> [-h]
for more details.