Giter VIP home page Giter VIP logo

gclone's Introduction

Gclone

Gclone (a modified version of the 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.