Batch edit photo metadata #997
RhetTbull
started this conversation in
Show and tell
Replies: 1 comment
-
In v0.58.0, there's a new
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm working on implementing #949 to add a batch edit tool for batch editing photo titles, keywords, description, etc. There's a commercial product Photos Workbench that sells for 29 USD that does this (along with a couple other things). I've implemented most of the batch-edit functionality in about 100 lines of python using osxphotos -- took me about an hour. The current code is in examples/batch_edit.py if you'd like to play with it. I'll be adding this as a feature command in osxphotos eventually. In the meantime you can run it with
osxphotos run batch_edit.py
. Seeosxphotos run batch_edit.py --help
for help. This command operates on photos currently selected in Photos.The commercial product has a GUI and is certainly easy and my intent is not to malign this product but simply to showcase how powerful osxphotos is and how easy it is (especially using the new command line tools like
@selection_command
) to make powerful tools in just a little bit of code.For example:
This will set the title to "California vacation 2023 2023-02-20 001", and so on, the description to the reverse geolocation place name, and the keywords to "Family", "Travel", and any existing keywords of the photo.
Beta Was this translation helpful? Give feedback.
All reactions