🦑 Find it on GitLab here


Not wanting to open Lightroom, Darktable or other photo library apps to simply import/copy photos from my camera’s memory card, I wrote a script to fetch photos’ date-taken time stamp and copy them into a date-labelled folder structure:

photoName.cr2YYYY/MM-DD2020/10-01/photoName.cr2

file-explorer.png

This admittedly simple task ended up also helping with re-organizing messy photo folders and turned out to be an interesting journey through the exiftool docs, running Python subprocesses and dealing with character encodings.

I hope this little app will be useful to some who want to organize their photos by date or those who are wondering why filenames with unicode characters are such a pain on windows 🤨 …

example.png

There’s no GUI (yet) but the --interactive mode asks for required input(s) and shows progress

Naturally I keep finding small nice-to-have things that I want to add (see the “roadmap” section in the README in the repository 🙃) without it turning into a big, bloaty app. So there may be updates on the process here some time in the future. Feel free to suggest more features.