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.4.tar.gz (13.8 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.4-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: exifsort-0.2.4.tar.gz
  • Upload date:
  • Size: 13.8 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.4.tar.gz
Algorithm Hash digest
SHA256 e2959dd7e32b061ab82efc92e96af71324fd5d274e6933b6e28502e409641560
MD5 446501c1962efadbcd7941a1438f23dd
BLAKE2b-256 48fd618e7d54c09f716a616a59fdd9a10a268c395cfb393c0688f78996fe8b17

See more details on using hashes here.

File details

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

File metadata

  • Download URL: exifsort-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 14.2 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c7d576b36a119d42c342b83e2aa81c7b4cf07e27f711fb10509028bd307355c6
MD5 dc9fc9d2df136e5df0ae47095cabfa34
BLAKE2b-256 9b74c8850e24f6e18dd58e2abcde29b6c3c82addf1db32ba0dc56a820f9ed102

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