Downloading All Files From Google Photos
- Navigate to Google Takeout
- Deselect all, and select the Photos archive
- Download and unzip your archive.
Each picture and video from Takeout will be accompanied by a metadata.json file containing all the EXIF data. Some pictures will even be stripped of their own EXIF data, usually Location and Date values, making the import process to another platform messy. We will need to merge the JSON and image file back together if we want to correctly import those images elsewhere.
Fixing Image EXIF Data
- Install https://exiftool.org/. This will allow us to read and write EXIF data, specifically from the JSON to the image/video.
- Open Terminal and use the below line in the codeblock. Replace "<DirToProcess>" with your unzipped folder of images (in Mac OS, you can drag the folder in terminal and it will populate the path). The ExifTool will go through all subdirectories so use the root folder’s path.
This will copy all GPS location data, tags, captions, descriptions, dates and time taken information to ALL files (-ext "*") within the specified directory, excluding JSON (--ext json). See notes below to limit the file types. If you have pictures older than 1970, refer to this comment for a fix.
- See all Google Takeout’s JSON file data and names here.
- See all Exiftool options here.
- You can change -ext "*" to specific files types like -ext jpg, or -ext mp4.
- Note that this will overwrite all files in that directory so keep the original archive zip as a backup.
Moving Library to iCloud
- Use Photos.app on Mac to upload your pictures. Make sure to use the File > Import instead of dragging everything in the app, it works much better for large libraries.
- Everything should import well. If there are some pictures that show up at the wrong date, manually correct them with Image > Adjust Date and Time.
Taking Care of Your Existing Google Photos Library
- If you are keeping Google Photos as a secondary backup, there’s a couple of things to do. The Google Photos phone app will recognize all newly added pictures in your iCloud as new pictures and will start uploading them again as duplicates. I couldn’t find a way to prevent that so I let the Google Photos app upload the whole library again.
- Once all pictures are uploaded to Google Photos, navigate to https://photos.google.com/search/_tra_ where pictures will be sorted by Upload Time. Select all newly added pictures and delete them. Google Photos will not reupload the deleted duplicates. It will continue uploading new pictures you take on your phone in the future as usual.