
My goal was to extract all photos from my Google Photos account and incorporate them into a master photo library on my Mac. I wrote this tool to help me overcome some issues that I had when trying to make use of photos exported from Google Photos using Google Takeout. This is true for all photos, except those created by Google Photos like GIFs, videos, and collages.Yarn start -inputDir ~/takeout -outputDir ~/output -errorDir ~/error jpg files you'll find all the original metadata, like GPS coordinates, dates, etc. So, for example you may find file IMG00132.jpg and file.
Google photos takeout exif data missing archive#
The archive contains photos and json files that contain some extra properties on those photos. I am honest with you, I do this step with UI, but since we are on a terminal you could also ssh on to the nas and launch $ 7z x takeout.
Google photos takeout exif data missing download#
You can re-enter ssh and check if the file is still downloading by doing a couple of ls -al and check the files size, if its getting bigger and bigger, this means that the download is in progress. Do this for every file google has created. You'll exit the ssh connection while the curl operation will still be in place.ĭepending on how big are your archives, this can take a lot of time. At this point you'll see that the terminal will start to become a little bit messy, with curl output breaking text. If you're not familiar with unix, this means "start this process in the background". # paste the very long curl string here followed by `&` # from now on, if connection succeded, we are operating on the NAS So, once you've clicked "cancel", click on cliget extension:Īnd now, click on the export file, you'll get a curl executable string:Ĭopy this very long, preselected string and open an ssh connection to your Nas: $ ssh As i said, we're not going to download the files on the pc, but rather we're going to get the curl string to download the file on the NAS. Once you click on "download", Google will ask you to log in again and then the browser will prompt to select a location where to download the file. Google will send you a link to download your files. I don't use Chrome so I hope somebody will suggest a similar extension for Chrome in the comments. curl is a command that allows to make http requests with a lot of options in our case, it will attach google cookies so Google will believe that we are logged users that are doing the download. Basically, this extension will translate the download link to a curl string.
