Skip to main content

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

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

exifsort-0.2.5.tar.gz (25.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

exifsort-0.2.5-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file exifsort-0.2.5.tar.gz.

File metadata

  • Download URL: exifsort-0.2.5.tar.gz
  • Upload date:
  • Size: 25.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for exifsort-0.2.5.tar.gz
Algorithm Hash digest
SHA256 34742f265967d3c319aba01f554e0a19bd04df9019230060dcacd09962fb71fc
MD5 2301e538067349ab71b9683d67259218
BLAKE2b-256 6be9c4cb1a481139fae66a61f84f00ad57bab3a93febe7749eee0e3e72ec455c

See more details on using hashes here.

File details

Details for the file exifsort-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: exifsort-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 16.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for exifsort-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0ea93eafe8688a8d2752cab9d3fdde7375f4197b66f80e7d2ded9fea59fa57f1
MD5 fe2cc6763553f1488e33190e563d8fa8
BLAKE2b-256 e54631572d84fa63a21f884521c6b6a8d54152255c345a2f5496f93a918091a1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page