Handy script which can help to automate the repetitive task of backing up files and folders to GDrive
-
Major languages (Python)
-
Libraries (google-api-python-client, google-auth-httplib2, google-auth-oauthlib)
-
Technologies/tools used
- Git(version control) - Google workspace apis(GDrive api)
To get a local copy up and running follow these simple example steps.
- Python 3.10.7 or greater
- The pip package management tool
- A Google Cloud project.
- A Google account with Google Drive enabled.
- Git
- Python 3.x
- python libraries using pip (google-api-python-client, google-auth-httplib2, google-auth-oauthlib)
$ git clone <repo_link>
$ cd <repo_name>
- Ensure that you have
credentials.json
file in your working directory
$ python3 backup.py <path_to_your_directory_for_backup> # this will open in the browser for the first time in order to grant your app access to GDrive
## 📝 License
This project is MIT licensed.