Skip to content

barabasz/exifsort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 audio and video formats.
  • 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, conflict protection, fallback and robust error handling.
  • 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