Last active
February 19, 2022 21:20
-
-
Save phybros/edf2a948ca7fc1b0483dde178f8c8d45 to your computer and use it in GitHub Desktop.
Fix photo metadata from Google Photos to Apple Photos import
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
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