Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/l3v11/gclone
A rclone mod with auto SA rotation
https://github.com/l3v11/gclone
gclone google-drive rclone
Last synced: 3 months ago
JSON representation
A rclone mod with auto SA rotation
- Host: GitHub
- URL: https://github.com/l3v11/gclone
- Owner: l3v11
- License: mit
- Created: 2021-11-21T00:39:53.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-16T19:36:52.000Z (over 1 year ago)
- Last Synced: 2024-08-02T06:13:26.367Z (6 months ago)
- Topics: gclone, google-drive, rclone
- Language: Go
- Homepage:
- Size: 250 KB
- Stars: 137
- Watchers: 5
- Forks: 40
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
- awesome-arr - Gclone - A rclone mod with auto SA rotation. (Complimenting Apps)
README
# Gclone
Gclone *(a modified version of the [rclone](https://github.com/rclone/rclone))* is a command-line program to sync files and directories to and from Google Drive.
## Features
- Synced with rclone version for getting the latest features and bug fixes
- Provides dynamic replacement of the Service Accounts (SAs) for bypassing the 750GB/day limit of Google Drive## Instructions
### 1. Configuring the service_account_file_path
Add `service_account_file_path` in config file for dynamic replacement of Service Accounts (SAs). Replaces when `rateLimitExceeded` error occurs.
> ***rclone.conf*** example:
```
[gc]
type = drive
scope = drive
service_account_file = /root/accounts/1.json
service_account_file_path = /root/accounts/
root_folder_id = root
```
**Note:** `/root/accounts/` folder must contain **SA files** (*.json)
### 2. Copying data```
gclone copy gc:{source} gc:{destination} --drive-server-side-across-configs
```
**Note:** Provide Team Drive ID or Folder ID as `source` and `destination`## Caveats
Creating Service Accounts (SAs) allows you to bypass some of Google's quotas. Tools like Autorclone and gclone automatically rotates SAs for continuous multi-terabyte file transfer.
> Quotas SAs **CAN** bypass:
* Google 'copy/upload' quota (750GB/account/day)
* Google 'download' quota (10TB/account/day)> Quotas SAs **CANNOT** bypass:
* Google 'Shared Drive' quota (~20TB/drive/day)
* Google 'file owner' quota (~2TB/day)## Credits
- [rclone](https://github.com/rclone)
- [donwa](https://github.com/donwa)
- [dogbutcat](https://github.com/dogbutcat)