README.md aktualisiert
More Instructions
This commit is contained in:
parent
892633222e
commit
49c1d1b30b
1 changed files with 13 additions and 2 deletions
15
README.md
15
README.md
|
@ -9,7 +9,7 @@ Clean up that MetaDataMess
|
||||||
|
|
||||||
before running: export ANTHROPIC_API_KEY='your-api-key-here'
|
before running: export ANTHROPIC_API_KEY='your-api-key-here'
|
||||||
|
|
||||||
## Using the tool
|
## Using the main tool
|
||||||
|
|
||||||
### Basic usage
|
### Basic usage
|
||||||
python pdf_processor.py -i /path/to/pdfs -o /path/to/output
|
python pdf_processor.py -i /path/to/pdfs -o /path/to/output
|
||||||
|
@ -27,4 +27,15 @@ python pdf_processor.py -i /path/to/pdfs -o /path/to/output --no-cleanup
|
||||||
python pdf_processor.py -i /path/to/pdfs -o /path/to/output --write-metadata
|
python pdf_processor.py -i /path/to/pdfs -o /path/to/output --write-metadata
|
||||||
|
|
||||||
### With MetaData - and skip Backups if you dare
|
### With MetaData - and skip Backups if you dare
|
||||||
python pdf_processor.py -i /path/to/pdfs -o /path/to/output --write-metadata --no-backup
|
python pdf_processor.py -i /path/to/pdfs -o /path/to/output --write-metadata --no-backup
|
||||||
|
|
||||||
|
## Reviewing the metadata
|
||||||
|
|
||||||
|
# Just review and save changes to new JSON file
|
||||||
|
python metadata_reviewer.py results/processing_results.json
|
||||||
|
|
||||||
|
# Review and write changes back to PDFs
|
||||||
|
python metadata_reviewer.py results/processing_results.json --write
|
||||||
|
|
||||||
|
# Enable debug logging
|
||||||
|
python metadata_reviewer.py results/processing_results.json --debug
|
Loading…
Add table
Reference in a new issue