SortPhotos is a Python-based command-line utility that organizes photos and videos into structured directories based on their date and time metadata. It can sort files by year, month, day, or any custom format using EXIF and other metadata tags, making it easy to transform messy collections into neatly arranged photo libraries. The tool works with both images and videos, automatically renames files if desired, and can filter which metadata groups or tags to prioritize when determining file dates. SortPhotos includes options for copying versus moving files, recursive searches, silent or test modes, and customizable start times for when a “day” begins. It also prevents duplicate files by comparing content, with an option to keep duplicates if needed. With support for automation through launch agents or cron jobs, SortPhotos is well-suited for photographers, archivists, and anyone looking to streamline large personal or professional media collections.

Features

  • Organizes photos and videos by date/time using EXIF and metadata tags
  • Customizable directory structure (e.g., year/month/day or user-defined formats)
  • Supports automatic file renaming with flexible naming conventions
  • Duplicate detection with optional content comparison
  • Options for copy vs. move, recursion, silent mode, and test mode
  • Supports automation with system schedulers (cron, launchctl, etc.)

Project Samples

Project Activity

See All Activity >

Categories

File Managers

License

MIT License

Follow SortPhotos

SortPhotos Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of SortPhotos!

Additional Project Details

Programming Language

Perl, Python

Related Categories

Python File Managers, Perl File Managers

Registered

2025-10-02