From 09e0f8e39b8aea43d1c91c5a5468d5cefec7ae0b Mon Sep 17 00:00:00 2001 From: sebastian Date: Wed, 19 Feb 2025 21:57:03 +0000 Subject: [PATCH] V6 New instructions / functions --- README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f6bd556..1d3819d 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ -# pdf-mass-cleanuptools v5 +# pdf-mass-cleanuptools v6 Clean up that MetaDataMess ## Needs: -+ pip install pdf2image anthropic tqdm ++ pip install pdf2image anthropic tqdm PyPDF2 + sudo apt-get install poppler-utils before running: export ANTHROPIC_API_KEY='your-api-key-here' @@ -21,4 +21,10 @@ python pdf_processor.py -i /path/to/pdfs -o /path/to/output --test python pdf_processor.py -i /path/to/pdfs -o /path/to/output --pattern "magazine_*.pdf" ### Keep temporary files for inspection -python pdf_processor.py -i /path/to/pdfs -o /path/to/output --no-cleanup \ No newline at end of file +python pdf_processor.py -i /path/to/pdfs -o /path/to/output --no-cleanup + +### With MetaData +python pdf_processor.py -i /path/to/pdfs -o /path/to/output --write-metadata + +### With MetaData - and skip Backups if you dare +python pdf_processor.py -i /path/to/pdfs -o /path/to/output --write-metadata --no-backup \ No newline at end of file