Python utilities for organizing, renaming, and processing photo files. Each script targets a specific workflow for cataloging, renaming, and converting images.
- Count Python files in a directory
- Analyze and classify filenames by pattern
- Simulate and perform batch renaming of generic filenames
- Convert RAW files to DNG format
- Ingest and organize RAW files by date or project
- Survey and list files in a folder
- Robust collision handling and dry-run support
Count the number of .py files in a given directory.
Usage:
python count_files.pyClassify filenames in a folder as generic (Doxie, IMAG, IMG) or original. Prints a summary. Usage:
python analyze_filenames.pySimulate renaming generic files (Doxie, IMAG) to a sequential format. No changes are made. Usage:
python dryrename.pyBatch rename generic files to a sequential SCAN_#### format, skipping existing files. Usage:
python genrename.py
python genrename2.pyMove .CR2 files from a source folder to a dated/project subfolder in the destination.
Usage:
python ingest_raw.pyRename or simulate renaming image files in a directory tree, applying patterns and collision resolution. Usage:
python rename.py
python dryrun.pyRename files in a folder to a sequential IMG_####.CR2 format. Usage:
python rename_originals.pyPrint a numbered list of all files in a folder. Usage:
python survey_filenames.py- Clone the repository:
git clone https://github.com/Phaedrus157/jaaPhotoOrganization
- Open in VS Code. Recommended: use the provided
.vscodesettings for linting and tasks. - Edit script paths as needed for your environment.
- Run scripts from the command line or VS Code tasks.
- Scripts use hardcoded Windows paths; update these for your system.
- All scripts include docstrings and type hints for maintainability.
- For large batch operations, use dry-run scripts first to preview changes.
MIT License. See LICENSE for details.