Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hengtsechou/auto-reauth-gsync
Google Drive syncing script
https://github.com/hengtsechou/auto-reauth-gsync
Last synced: 2 months ago
JSON representation
Google Drive syncing script
- Host: GitHub
- URL: https://github.com/hengtsechou/auto-reauth-gsync
- Owner: hengtseChou
- License: mit
- Created: 2024-06-28T16:05:32.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-30T16:56:08.000Z (7 months ago)
- Last Synced: 2024-11-08T20:48:51.789Z (2 months ago)
- Language: Python
- Homepage: https://pypi.org/project/argsync/1.2.0/
- Size: 53.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Auto-ReAuth-GSync
A google drive sync tool that does not requires re-authorize.
Some of the code was inspired by the [Google-Drive-sync](https://github.com/dtsvetkov1/Google-Drive-sync) project and refactored with PyDrive2 packages.
# Installation
It is recommanded to use pipx for an isolated environment.
```
pipx install argsync
```# Setup
1. Enable a Google Drive API over [GCP](https://console.cloud.google.com) and retrieve client id and client secret. Make sure you include the account you want to link with this tool when adding user for your API.
2. Run `argsync setup`, and input your client id and client secret.
3. When first time running `argsync push` or `argsync pull`, your will be redirected to authorization page. And that's it. From now on, the tool will refresh the credentials automatically.
4. To switch for different account, run `argsync remove-profile` to remove the credentials and re-authorize with another account.# Disclaimer
This project is not widely tested. Some issues might occur. Anyone is welcomed to contribute.