Skip to content

Instantly share code, notes, and snippets.

@NamekMaster
Last active June 30, 2022 02:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NamekMaster/97e30382b76b402c2adf164d6548f731 to your computer and use it in GitHub Desktop.
Save NamekMaster/97e30382b76b402c2adf164d6548f731 to your computer and use it in GitHub Desktop.
Merge metadata from Google Photos takeout into file.
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" "-CreateDate<CreationTimeTimestamp" "-ModifyDate<PhotoLastModifiedTimeTimestamp" -ext "*" -overwrite_original -progress --ext json Google\ Photos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment