Can anyone recommend a tool to manage photos at the cmdline? I just want to move photos into dirs based on their metadata (YYYY/DD), occasionally fix up metadata (adjust dates), rename photo filenames to match a template and/or query my photos for certain things. It doesn’t need to be a gallery or image touch-up tool, I have other things for that.
I’m aware of exiftool and ImageMagick, perhaps they can do the job but they seem quite low level, really need to build scripts around them - I’d like something that operates at a slightly higher level so I don’t have to do too much scripting.
A quick search turned up chee (GPLv3) which can:
- search photos using a simple query language
- manage named queries (called collections)
- copy/symlink images into a custom folder structure
…but it’s not had an update in a few years (maybe it’s feature complete tho!) Any other suggestions? Thanks.
Probably not what you want to hear, but I think exiftool + bash script really is the way to go. A few years ago I had a similar need and searched for hours online… I ended up hacking together a “good enough” bash script that reads all the dates of my pictures and does some stuff. It took 30 mins of reading some basic bash scripting basics. Way less time than searching for a tool that probably doesnt exist.
In 2024, you can probably just ask chatgpt to write a quick and dirty bash script for you and it might require another 10mins of debugging/begging chatgpt to fix its mistakes
Add in manual btrfs snapshots prior to usage too, having a “undo” on thousands of photo alternations is optimal if the script eats your photos.