Group a directory of files by date
- Python 89.5%
- Dockerfile 5.6%
- Shell 4.9%
| .github/workflows | ||
| scripts | ||
| .gitignore | ||
| date-group.py | ||
| dev-requirements.txt | ||
| Dockerfile | ||
| README.md | ||
| requirements.txt | ||
| setup.cfg | ||
Date Group
Group a directory of files.
Want a more performant version. Check out the Rust version.
Dates are determined through multiple sources:
- EXIF metadata
- Date in filename
Installation
Install the dependencies specified in requirements.txt.
Usage
Script takes just 1 argument, the path to group. All files in subdirectories will be moved. --dry-run can be moved to just print the files and groups rather than actually move them.
Files whose dates can't be parsed, are left in-place.