This project aims at creating a tool that properly backups the content of a Google Drive folder.
Tools to backup Google Drive exist, but for GDoc and GSpreadSheet documents, they create links to be opened in the browser (maybe backup and sync change that, haven't tried).
Also, these tools usually don't work on Linux...
- Create a git-versioned backup of a Google Drive folder that properly backups all useful content
- Making a full-featured sync tool
- Create a Google Project
- Activate the "Google Drive API" for this project
- Create "web application" credentials allowing
http://localhost/
as redirect URL - Download the corresponding JSON file credentials and rename it as
client_secret.json
(remove any existing drive-nodejs-quickstart.json
file if any)
npx github:dtc-innovation/garagiste
## The first time
# This tells you to go to a page starting with `https://accounts.google.com/o/oauth2/auth`
# ... which redirects to http://localhost/?code=SOME_CODE
# Take SOME_CODE and feed it to the command line
## All the time
# Provide the Google Drive directory id to backup
This will backup the Google Drive directory to a tmp
directory at the root of this project