๐Ÿ“ท

NeatPhotoImport

type
script
tags
python
tl;dr
A CLI app for importing photos to date folders
date
Nov 9, 2021
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.cr2 โ†’ YYYY/MM-DD โ†’ 2020/10-01/photoName.cr2
notion image
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 ๐Ÿคจ ...
๐Ÿฆ‘
Find it on GitLab here
There's no GUI (yet) but the --interactive mode asks for required input(s) and shows progress
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 on GitLab ๐Ÿ™ƒ) 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.