PyPhotoSorter

How I put some order in my 30G+ of photos

Python Photo Sorter

How do you manage 30G+ of photos and videos…

There is not much to say, apart that it’s a cross-platform (Python) media sorter that uses ExifTool for extracting EXIF data from media files.

Why say you? Because years ago I went to sort my photo library using some other tool (I think it was digiKam) and it modified all the EXIF data in the images messing everything up. I’ve never trusted another photo sorting application since then and I do it myself!

The application will take the source folder and sort all your media files (images and videos) into a destination folder ordered by date (year/month/day) in the following format:

- 2024
  - 01
    - 01
      image1.jpg
    - 02
      image2.jpg
    - 31
      image3.jpg
      image4.jpg
  - 02
    - 01
      image5.jpg
    - 28
      image6.jpg

For a sneak peak, go to https://github.com/xserty/pyPhotoSorter

If you feel that you like this project and would like to contribute, please do send a pull request!

This was my first ’test’ project when learning Python and as you can imagine, the code needs a cleanup, some refactoring, some optimisation and maybe more!

Hint: there is also an older Bash version! This was my first bash script when I was learning scripting: https://github.com/xserty/stevesBashPhotoSorter.