Last active
January 6, 2024 21:42
-
-
Save organom/705a63e640e7864d9c7efa8088e243ad to your computer and use it in GitHub Desktop.
Tags recursivelly all images with the folder hierarchy as subject (starting from current folder)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in *; do echo "== $i"; exiftool "-subject<directory" -overwrite_original -sep "/" -P -r "$i"; echo ""; done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment