Skip to content

Fallenstedt/google-takeout-sucks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚨 This is a work in progress

Google Takeout Sucks

"Buy Me A Coffee"

Google Takeout allows you to generate zip files of your google data. The problem is that it will generate hundreds of zip files of your data, and it sucks downloading it if these files are 50GB.

I made this script to download all of my stuff from Google Takeout

Before you begin, export all of your google photos to google drive using Google Takeout.

Setup

  1. Use Google takeout to export zip files to your Google Drive.

  2. Install the script with go install ... Optionally, build with go build ...

  3. Run takeout login. This will fetch an access token to READ your google drive files. This is necessary to download all of your Google takeout files to your harddrive

  4. Copy the directory ID of the google takeout folder in google drive. This can be found in the URL when viewing the Takeout folder in google drive. drive.google.com/drive/folders/{really long id....} Image of google drive

  5. Run the takeout download --directoryId=<direcotryId> --outDir=<absolute/path/to/save/files>. By default, --dryRun is set to false.

  6. You can unzip all of the zip files with takeout unzip --source=<absolute/path/to/zipfiles> --outDir=<absolute/path/to/unzip/files. By default --dryRun is set to false

About

Google Takeout sucks. This script makes it better

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages