Skip to content
Search pictures at given paths and sorts them based on there exif data
Branch: redis
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


This repo contains a simple python script to find and sort various of pictures.

Each picture/image found is sha512 hashed before it is copied/moved to the destination. Only one copy of each file is saved, so a file based deduplication is performed.

The pictures are sorted by following aspects:

  • date - extracted from exif data (fallback to modification time when no exif data available)
  • author - extracted from exif data
  • camera model - determined from various exif data
  • location
    • creates following directory tree: <country code>/<area>/<closer area>/<city>
    • for each level of the tree a directory named _all_ is created contains all images/pictures from this area
    • determined by the location from exif data if possible
    • fallback to parsed gpx files and determine approximated location by time matching

For all aspects/categories a directory named _unknown_ is created contains all remaining files.


For a help message simply run ./ -h.


This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Author Information

You can’t perform that action at this time.