Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/donwa/gclone
rclone mod
https://github.com/donwa/gclone
Last synced: about 2 months ago
JSON representation
rclone mod
- Host: GitHub
- URL: https://github.com/donwa/gclone
- Owner: donwa
- License: apache-2.0
- Created: 2020-02-13T07:51:43.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-05T11:39:24.000Z (over 3 years ago)
- Last Synced: 2024-06-18T20:00:40.538Z (3 months ago)
- Language: Go
- Size: 132 KB
- Stars: 787
- Watchers: 26
- Forks: 363
- Open Issues: 46
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
gclone
====
English [简体中文](https://github.com/donwa/gclone/blob/master/README_zh.md)
A modified version of the [rclone](//github.com/rclone/rclone)
Provide dynamic replacement sa file support for google drive operation## installation
```
bash <(wget -qO- https://git.io/gclone.sh)
``````
// View version information
gclone version
```## Instructions
### 1.service_account_file_path Configuration
add `service_account_file_path` Configuration.For dynamic replacement service_account_file(sa file). Replace configuration 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
```
`/root/accounts/` Folder contains multiple access and edit permissions ***service account file(*.json)***.
### 2.Support incoming id
If the original rclone is across team disks or shared folders, multiple configuration drive letters are required for operation.
gclone supports incoming id operation
```
gclone copy gc:{folde_id1} gc:{folde_id2} --drive-server-side-across-configs
```
folde_id1 can be:Common directory, shared directory, team disk.
```
gclone copy gc:{folde_id1} gc:{folde_id2}/media/ --drive-server-side-across-configs```
```
gclone copy gc:{share_fiel_id} gc:{folde_id2} --drive-server-side-across-configs
```