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
HostBastic, a British hosting provider, is a form...
face-h, a Belgian merchant, is a formal company (...
simplecloud.ru, a Russian hosting provider, has i...
Magic Cube Cloud, a Chinese host. Three-network d...
Freshworks, an American business, was established...
GigsGigs is a Hong Kong registered vps host, prov...
Server Viking, a British hosting provider, a form...
Yunqiao Liandong, a new Chinese merchant, mainly ...
Cloudean, a foreign merchant, was established in ...
The recommended operating systems are Debian 8 64...
V.PS is a new merchant under xTom. It mainly prov...
AkkoCloud, a Chinese merchant, was established in...
I applied for Baidu Encyclopedia a few days ago a...
HostingNhanh is a Vietnamese merchant and a forma...
DataWagon, a US hosting provider, has its own ASN...