Gdrive is a CLI tool for uploading and downloading Google Drive files under Linux. It is easy to install and use. 1. Install Gdrive : (SSH, based on centos 7) 2. Authorization Then a URL will appear and ask for a verification code. Paste the address into the browser and log in to your account, and a string of codes will be returned. Paste the code into SSH and your account information will be returned The gdrive program will automatically save your token in the .gdrive directory under the user directory, so remember to delete this file if you don’t need it anymore. 2. Use <br />The common commands are as follows, please visit the gdrive official website for more information; gdrive Download the file in the root directory of Google Drive to your local computer (xxxx is the file name) Download the folder in the root directory of Google Drive to your local computer (xxx is the folder name) Upload the local file to the root directory of Google Drive (xxxx is the file name) Create a folder in the root directory of Google Drive (xxx is the folder name) 3. Create a script to automatically backup your website and upload files to Google Drive 2. Change permissions 3. Create a scheduled task Add to The above backup script is stored in /backups/, and the backup is restarted at 2 o'clock every day. 4. Application <br />With the help of the following blog post, you can make more rational use of resources. |
<<: KrakenServers: $3.5/month/1GB memory/45GB space/1TB traffic/KVM/Los Angeles
>>: Cloudxtiny: £3/year/96MB RAM/5GB storage/200GB bandwidth/OpenVZ/Germany
SaltyfishTech was established in early January 20...
Central.so seems to have been established not lon...
EH VPS is an American hosting company founded in ...
ReliableHosting is a long-established hosting com...
Xethost, a Hungarian merchant, a formally registe...
cloudshards(Query Foundry, LLC)是一家成立于2012年的澳大利亞主機...
vps-hosting is a Canadian hosting provider, and i...
GeTian Internet, a Chinese merchant, such as a ne...
LeaseWeb, a Dutch hosting provider, was founded i...
Dedispec, an American hosting provider, was found...
SimplerCloud, a Singapore hosting provider, was f...
Tokyonline mainly provides KVM VPS such as Japan ...
Hostodo's latest offer continues with kvm and...
PhotonVPS, owned by Psychz Networks, mainly deals...
SimpleHOST, a Czech hosting provider, was establi...