Skip to content

Instantly share code, notes, and snippets.

@therealparmesh
Last active August 13, 2024 21:45
Show Gist options
  • Save therealparmesh/473be996fa1bb65d7b9999571f8a14f2 to your computer and use it in GitHub Desktop.
Save therealparmesh/473be996fa1bb65d7b9999571f8a14f2 to your computer and use it in GitHub Desktop.
Google Photos Takeout Metadata Fix
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" "-FileCreateDate<PhotoTakenTimeTimestamp" -ext "*" -overwrite_original -progress --ext json .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment