Home Tech How To ByPass Google Drive Download Limit of 750GB

How To ByPass Google Drive Download Limit of 750GB

224
0
How To ByPass Google Drive Download Limit of 750GB
How To ByPass Google Drive Download Limit of 750GB

The daily traffic limit of GoogleDrive is 750G. The function of AutoRclone is to create multiple service accounts through the Google Developer Platform. After reaching the 750G traffic limit, the account is automatically switched. AutoRclone and Gclone can also quickly copy and transfer learning materials between Google Drive accounts and Google team disks.

Read Also

Provided herein, the process is mainly used to generate AutoRclone Service Accounts, then with the gclone service_account_fileand service_account_file_paththese two parameters, call Service Accounts, 750G achieved after reaching the flow limit, the account is automatically switched. This article records the detailed process of setting

What you need is

  1. https://github.com/xyou365/AutoRclone
  2. https://github.com/Spazzlo/folderclone
  3. https://github.com/donwa/gclone

What will be implemented

  • Transfer from local server to Google Team Drive
  • Copy the link shared by others to Google Team Drive
  • Transfer from one Google Team Drive to another Google Team Drive
  • None of the above is limited by 750G traffic

How To ByPass Google Drive Download Limit of 750GB

  • A VPS server is of course possible on the local computer Windows, but this article uses VPS as an example
  • A Google account
  • A Google Team Drive account, if not, several free access channels will be provided at the end of this article

Rough process

  1. Install Python3 and AutoRclone
  2. Use Google Developer Platform to generate service account
  3. Add service accounts to Google Groups
  4. Install gclone to copy files

Detailed installation How To ByPass Google Drive Download Limit of 750GB

The following tutorial content is based on the Debian10 system VPS server

Install Python3

apt-get install git python3 python3-pip -y

Install AutoRclone

git clone https://github.com/xyou365/AutoRclone && cd AutoRclone && pip3 install -r requirements.txt

Generate Service Accounts

Open the link: https://developers.google.com/drive/api/v3/quickstart/python

Click Enable the Drive API

In the pop-up window, download the generated credentials.json:

Then you download credentials.jsoninto AutoRclone directory

Here I use the Xshell, you can use rzcommands from the local computer to upload files to the VPS

First run the following command:

apt install lrzsz -y

Then enter the AutoRclone directory:

cd AutoRclone

Then enter rzand press the ENTER key will pop up window:

Find yours credentials.json, click and open to upload

Then there are three situations:

1. The project has not been created before

Run directly:

python3 gen_sa_accounts.py --quick-setup 1

The meaning of the above command:

  • Create 1 project
  • Open related services
  • Create 100 service accounts
  • Download the authorization files of 100 service accounts to the accounts folder

2. Existing projects, need to create new

python3 gen_sa_accounts.py --quick-setup 2 --new-only

The meaning of the above command:

  • Create 2 additional projects (Project N + 1 to Project N + 2)
  • Open related services
  • Create 200 service accounts (2 projects, 100 for each project)
  • Download the authorization files of 200 service accounts to the accounts folder

3. Use existing projects, not create new ones

python3 gen_sa_accounts.py --quick-setup -1

The above command will overwrite the existing service accounts

I am the first case here, run python3 gen_sa_accounts.py --quick-setup 1

Log in to a Google account with a Team Drive account and allow permissions:

Copy the returned code and paste it into the your ssh session window and enter

If you press Enter, you see the prompt as shown above, because the Google Account has not opened the Service Usage API

Copy and open the link address provided, open it in your browser, note that you are logged into the Google account you just authorized , and then click to enable:

After entering accounts folder, you will see a lot of .jsonfile extension:

Add service accounts to Google Groups

This is optional, but recommended

The most troublesome step in the whole process

This step is divided into two cases

  • Your account is a regular Google account
  • Your account is a G Suite administrator

If it is an administrator, this step is relatively fast

But if you just get a free Google Team Drive account, it is more troublesome

In this step, we need to add the hundreds of Service Accounts we just generated to the Google Group

Moreover, only 10 can be added at a time, and only 100 can be added every 24 hours

and so……

The following is the operation of ordinary account

Create Google Group

Open the link: https://groups.google.com/

Batch extract Service Accounts

Copying hundreds of accounts one by one is too slow, we need to use a Chrome plugin:

https://chrome.google.com/webstore/detail/email-extractor/fgcoaakamhopmbbbllmpocacgkhjhmbp?hl=zh-CN

Install the above plugin and then open this link: https://console.cloud.google.com/iam-admin/serviceaccounts

Then this page will display the Service Accounts account you just created

We can download these mailboxes in txt format, please note that your own Google account mailbox will also be extracted here

Add to Group

Group has been created and Service Accounts mailboxes have also been obtained, now we will add these mailboxes to Group

Note that only 10 can be added at a time, and only 100 can be added every 24 hours

Back to Group page, top right corner of the management members :

The left directly add members, the Service Accounts mailbox copy and paste 10, click Add

Repeat the above steps to add 100 mail:

how to use

Use directly

First add service accounts to the target Team Drive

cd /root/AutoRclone
#Replace the following SharedTeamDriveDstID with your team drive ID
python3 add_to_team_drive.py -d SharedTeamDriveDstID

View team disk ID:

Open your team drive and check the links on the browser, such as:

https://drive.google.com/drive/u/2/folders/0App-QeDCIy_mUk9PVA

In the above link, it 0App-QeDCIy_mUk9PVAis the ID

Then you should run the command:

python3 add_to_team_drive.py -d 0App-QeDCIy_mUk9PVA

After you press Enter, press Enter again

hen we can use

The detailed usage command can be seen here: https://github.com/xyou365/AutoRclone#step-5-start-your-task

https://drive.google.com/drive/u/2/folders/10zOvIf8yBmIuZgBfC3rcDKWHIlODZjXF

python3 rclone_sa_magic.py -s 10zOvIf8yBmIuZgBfC3rcDKWHIlODZjXF -d 0AMp-QeDCIy_mUk9PVA -dp InSide.No.09 -b 1 -e 600 --drive-server-side-across-configs

The above command is to save the file in the shared link to your own Team Drive

Use with Gclone

gclone is actually an enhanced version of rclone, adding support for automatic account switching and command line root directory id operation support for Google Drive operations

Other functions are the same as the original rclone

Install gclone

bash <(wget -qO- https://git.io/gclone.sh)

Then the installation is complete

You can choose to rename gclone to rclone for easy use:cp /usr/bin/gclone /usr/bin/rclone

The following content is taken as an example without renaming. If you have renamed it, change the one that appears in the following command gclonetorclone

Configure gclone

First, you need to write down /root/AutoRclone/accounts/in one of the files:

ls /root/AutoRclone/accounts

Enter the displayed number .jsonsuffix name of the file, copy one file name, note the file path, such as:

/root/AutoRclone/accounts/7c3c53023d06ae8688084c82f507480c878a422c.json

Then configure gclone

gclone is consistent with rclone in use, and the configuration process is almost the same. If you have not used rclone, you can check this article first:

Run the following command to configure:

gclone config

The configuration process, be noted that, when there is service_account_fileoption, fill in the above note of the .jsonfile

When there is service_account_file_pathtime, fill/root/AutoRclone/accounts/

After that, the configuration is complete

Copy files using gclone

Documents provided by the author Github: https://github.com/donwa/gclone/blob/master/README_zh.md

Simply record common commands

Copy the shared link file to the team drive
gclone copy edugd: {directory id} edugd: {directory id} --drive-server-side-across-configs -v

In the above command, it edugdwas set when you configured gclonename

目录id Is the last part of the link in the shared link, such as:https://drive.google.com/drive/u/2/folders/10zOvIf8yBmIuZgBfC3rcDKWHIlODZjXF

10zOvIf8yBmIuZgBfC3rcDKWHIlODZjXF Is the directory id

--drive-server-side-across-configs Used for transmission between Google disks without server traffic, the transmission speed is faster

-v Used to view the speed of the transmission process

Command usage example:

gclone copy edugd:{10zOvIf8yBmIuZgBfC3rcDKWHIlODZjXF} edugd:{1j4z3UH1thdNB8dOhTUgb0uRHxQaDYL1T} -v

In addition to using the target position id, but also can be used as a directory, such as:

gclone copy edugd:{10zOvIf8yBmIuZgBfC3rcDKWHIlODZjXF} edugd:Movie-TV/ -v
Transfer local files to team disk
gclone copy /root/Downloads/ edugd:Movie-TV/ -v

This is the basic usage, and the tutorial is finally over here.

Not easy

The configuration is troublesome, but writing tutorials is even more troublesome.

There are many tutorials on the Internet that are not clear, and they are always ambiguous in some small places.

Get free Team Drive

Here are a few websites that share Get Team Drive

  • https://gd.404edu.workers.dev/
  • http://leon.educationhost.cloud/

LEAVE A REPLY

Please enter your comment!
Please enter your name here