Skip to content

Instantly share code, notes, and snippets.

@organom
Last active January 6, 2024 21:42
Show Gist options
  • Save organom/705a63e640e7864d9c7efa8088e243ad to your computer and use it in GitHub Desktop.
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)
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