Skip to content

Instantly share code, notes, and snippets.

@ggteixeira
Created October 6, 2023 13:54
Show Gist options
  • Save ggteixeira/13098dabab51f70196ba3bf379cd1c32 to your computer and use it in GitHub Desktop.
Save ggteixeira/13098dabab51f70196ba3bf379cd1c32 to your computer and use it in GitHub Desktop.
Fixing Metadata from Image Files
exiftool -r -d %s -tagsfromfile "%d/%F.json" "-GPSAltitude<GeoDataAltitude" "-GPSLatitude<GeoDataLatitude" "-GPSLatitudeRef<GeoDataLatitude" "-GPSLongitude<GeoDataLongitude" "-GPSLongitudeRef<GeoDataLongitude" "-Keywords<Tags" "-Subject<Tags" "-Caption-Abstract<Description" "-ImageDescription<Description" "-DateTimeOriginal<PhotoTakenTimeTimestamp" -ext "*" -overwrite_original -progress --ext json <DirToProcess>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment