ExifSort - sort media files into date-based folders by reading EXIF creation date.
Project description
ExifSort
ExifSort - sort media files into date-based folders by reading EXIF creation date.
Key Features
✅ Robust Metadata Support: Powered by ExifTool, ensuring reliable reading of EXIF/XMP creation dates from a wide variety of formats (JPG, DNG, MOV, MP4, ORF, RAW, and more).
✅ Flexible Organization: Automatically moves files into date-based directory structures (e.g., 2023/20231224) and renames them with timestamp prefixes (e.g., 20231224-180000-Image.jpg).
✅ "Party Mode" (Day Shift): Define when a new day starts (default: 04:00 AM). Photos taken after midnight (e.g., at a party) will be sorted into the previous day's folder, keeping events together.
✅ Extension Normalization: Automatically unifies file extensions to lowercase standard formats (e.g., converts .JPEG to .jpg, .TIFF to .tif).
✅ Time Correction: Apply a time offset (in seconds) to fix timestamps if your camera's clock was set incorrectly.
✅ Safe & Secure:
→ Dry-run mode (--test): Preview changes without modifying any files.
→ Conflict protection: Skips files if the target destination already exists (unless overwrite is forced).
→ Fallback handling: Files without metadata are safely moved to a dedicated _UNKNOWN folder.
✅ CLI Friendly: Includes a progress bar, colorful output, and verbose mode for detailed processing logs.
Installation
pip install exifsort
Requirements
- Python 3.13+
- ExifTool command-line tool
- PyExifTool Python library
License
MIT License - see LICENSE for details.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Links
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file exifsort-0.2.2.tar.gz.
File metadata
- Download URL: exifsort-0.2.2.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7cf3d49140fd5fbc1960acca54d5338bdd4bba807fb36c77408ed55f4406bb43
|
|
| MD5 |
aa49a29fb1aa4a43b662bd255c33214a
|
|
| BLAKE2b-256 |
5435e042adcd5e4bbe95ca0dc70d56703160b686f32a201570d47dfd35d77344
|
File details
Details for the file exifsort-0.2.2-py3-none-any.whl.
File metadata
- Download URL: exifsort-0.2.2-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c9d0336f6a758895a47775421f05b6c8c68c60c1a278da0dc3671a6779a3b7b
|
|
| MD5 |
06fbe24bbe1c3b90b3e0d9f36cb80a38
|
|
| BLAKE2b-256 |
8a0f08c902a5e3148ce798c6fb9b50f748dcdf0a47a5e1a985504dfe6062a4e0
|