Created
May 29, 2019 22:41
-
-
Save bjorkqvist/2bb661e3db6f83dc5306c691af1da99c to your computer and use it in GitHub Desktop.
Export images and video from Google Photos and adjust metadata
This file contains hidden or 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
Export images and video from Google Photos and adjust metadata | |
-- download images from | |
takeout.google.com/settings/takeout | |
-- unzip | |
- flatten to new dir takeout2 | |
exiftool -q -q -r -d takeout2 "-directory<filemodifydate" "-directory<createdate" "-directory<datetimeoriginal" Takeout | |
--update filenames with camera and date? make recursive? | |
exiftool -q -q -r -d takeout2 "-directory<filemodifydate" "-directory<createdate" "-directory<datetimeoriginal" Takeout | |
-- update exif with gps and date | |
exiftool -r -d %s -tagsfromfile "%d/%F.json" "-GPSAltitude<GeoDataAltitude" "-GPSLatitude<GeoDataLatitude" "-GPSLatitudeRef<GeoDataLatitude" "-GPSLongitude<GeoDataLongitude" "-GPSLongitudeRef<GeoDataLongitude" "-DateTimeOriginal<PhotoTakenTimeTimestamp" -ext jpg -overwrite_original .\1970-tal_Inscannat\ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment