All Projects → dogbutcat → gclone

dogbutcat / gclone

Licence: other
fork from https://github.com/donwa/gclone

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects
shell
77523 projects

Projects that are alternatives of or similar to gclone

Homescripts
My Scripts for Plex / Emby with Google Drive and rclone
Stars: ✭ 652 (+685.54%)
Mutual labels:  google-drive, rclone
Cloud Media Scripts
Upload and stream media from the cloud with or without encryption. Cache all new and recently streamed media locally to access quickly and reduce API calls
Stars: ✭ 84 (+1.2%)
Mutual labels:  google-drive, rclone
Rclone
"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Yandex Files
Stars: ✭ 30,541 (+36696.39%)
Mutual labels:  google-drive, rclone
Torrents-to-Google-Drive
This is a Google Colab notebook with QBittorrent and Rclone, which can download torrents to Google Drive
Stars: ✭ 56 (-32.53%)
Mutual labels:  google-drive, rclone
Ytdlrc
☁️ Downloads videos and metadata with youtube-dl and moves each file on completion to an rclone remote
Stars: ✭ 140 (+68.67%)
Mutual labels:  google-drive, rclone
slam-mirrorbot
Aria/qBittorrent Telegram mirror/leech bot.
Stars: ✭ 1,072 (+1191.57%)
Mutual labels:  google-drive, rclone
Heroku Google Drive
Remote Google Drive client on Heroku using Rclone and Aria2
Stars: ✭ 44 (-46.99%)
Mutual labels:  google-drive, rclone
Autorclone
AutoRclone: rclone copy/move/sync (automatically) with thousands of service accounts
Stars: ✭ 1,002 (+1107.23%)
Mutual labels:  google-drive, rclone
Plexguide.com
Welcome to https://PlexGuide.com ~ Rapidly deploy multiple-hasty Docker Containers through Ansible with local or Unlimited Google HD Space!
Stars: ✭ 1,631 (+1865.06%)
Mutual labels:  google-drive, rclone
Plexidrive
Scripts to facilitate the use of cloud storage (such as Google Drive) as storage for Plex media server
Stars: ✭ 118 (+42.17%)
Mutual labels:  google-drive, rclone
netbackup
A frontend for various backup programs (rsync, rdiff-backup, rclone) that simplifies local and remote backups.
Stars: ✭ 15 (-81.93%)
Mutual labels:  google-drive, rclone
Any-file-to-Google-Drive
This Google Colab notebook will help you download any file directly to Google Drive with the help of the JDownloader web interface
Stars: ✭ 47 (-43.37%)
Mutual labels:  google-drive, rclone
rclone-drive
☁️Simple web cloud storage based on rclone, transform cloud storage (s3, google drive, one drive, dropbox) into own custom web-based storage
Stars: ✭ 30 (-63.86%)
Mutual labels:  google-drive, rclone
Goindex
Index your Google Drive
Stars: ✭ 418 (+403.61%)
Mutual labels:  google-drive, rclone
ccViewer
CryptCloudViewer source codes
Stars: ✭ 66 (-20.48%)
Mutual labels:  google-drive, rclone
Aria2.conf
Aria2 配置文件 | OneDrive & Google Drvive 离线下载 | 百度网盘转存
Stars: ✭ 1,321 (+1491.57%)
Mutual labels:  google-drive, rclone
backmeup
BackMeUp: An automated MySQL / MariaDB databases and files backup solution on *nix Machines using Amazon S3, WebDAV (ownCloud / NextCloud etc.), Google Drive and Dropbox.
Stars: ✭ 80 (-3.61%)
Mutual labels:  google-drive, rclone
MiXLab
MiXLab is a mix of multiple amazing Colab Notebooks found on the internet such as rcloneLab, RLabClone, Torrent to Google Drive Downloader and some more.
Stars: ✭ 143 (+72.29%)
Mutual labels:  google-drive, rclone
InfiniDrive
A project that leverages Google Drive's API and "0 size file" rules for native Docs for unlimited storage space. - A SteelHacks 2019 Project
Stars: ✭ 63 (-24.1%)
Mutual labels:  google-drive
zoom-drive-connector
Automatically uploads Zoom meeting recordings to Google Drive.
Stars: ✭ 25 (-69.88%)
Mutual labels:  google-drive

gclone

A modified version of the rclone

Implement donwa/gclone to sync with rclone version

Provide dynamic replacement sa file support for google drive operation

BUILD

Prepare

#Windows cgo
WinFsp, gcc (e.g. from Mingw-builds)

#macOS
FUSE for macOS, command line tools

#Linux
libfuse-dev, gcc

Step

  • (optional) install cgofuse
  • build
    go build -v -tags 'cmount' gclone.go
    

Check

./gclone version

if need mount function, cgofuse is required,

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:{folder_id1} gc:{folder_id2}  --drive-server-side-across-configs

folder_id1 can be:Common directory, shared directory, team disk.

gclone copy gc:{folder_id1} gc:{folder_id2}/media/  --drive-server-side-across-configs

gclone copy gc:{share_field_id} gc:{folder_id2}  --drive-server-side-across-configs

3.Support command line option --drive-service-account-file-path

gclone copy gc:{share_field_id} gc:{folder_id2} --drive-service-account-file-path=${SOMEWHERE_STORE_SAs}

4.Support command line option --drive-rolling-sa and --drive-rolling-count

gclone copy gc:{share_field_id} gc:{folder_id2} --drive-rolling-sa --drive-rolling-count=1

What is rolling sa?

  • This option main for backup large drive, intent for using all sa more balance, not to consume one sa in one time, as I found there's some wired scen when sa was consumed.

What is rolling count?

  • every action in rclone using go routine, actually it is for waitgroup count, same sa will use within action. By default is 1, not recommand set value over 4, in my test bigger file should with smaller count.

5.Support command line option --drive-random-pick-sa

gclone copy gc:{share_field_id} gc:{folder_id2} --drive-random-pick-sa --drive-rolling-sa --drive-rolling-count=1
  • take random sa file from service account file path config instead of configed one. Good companion with rolling sa config.

CAVEATS

Creating Service Accounts (SAs) allows you to bypass some of Google's quotas. Tools like autorclone and clonebot (gclone) automatically rotate 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)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].