n)New remote
s)Set configuration password
q)Quit config
n/s/q> n
name>Rats#配置名称,随便填Type of storage to configure.Enter a string value.PressEnterfor the default("").Choose a number from below,or type in your own value
1/1Fichier"fichier"2/Aliasfor an existing remote
"alias"3/AmazonDrive"amazon cloud drive"4/Amazon S3 CompliantStorageProvider(AWS,Alibaba,Ceph,DigitalOcean,Dreamhost, IBM COS,Minio, etc)"s3"5/Backblaze B2
"b2"6/Box"box"7/Cache a remote
"cache"8/Dropbox"dropbox"9/Encrypt/Decrypt a remote
"crypt"10/ FTP Connection"ftp"11/GoogleCloudStorage(thisisnotGoogleDrive)"google cloud storage"12/GoogleDrive"drive"13/GooglePhotos"google photos"14/Hubic"hubic"15/JottaCloud"jottacloud"16/Koofr"koofr"17/LocalDisk"local"18/Mega"mega"19/MicrosoftAzureBlobStorage"azureblob"20/MicrosoftOneDrive"onedrive"21/OpenDrive"opendrive"22/OpenstackSwift(RackspaceCloudFiles,MemsetMemstore, OVH)"swift"23/Pcloud"pcloud"24/Put.io
"putio"25/QingCloudObjectStorage"qingstor"26/ SSH/SFTP Connection"sftp"27/Union merges the contents of several remotes
"union"28/Webdav"webdav"29/YandexDisk"yandex"30/ http Connection"http"31/ premiumize.me
"premiumizeme"Storage>12#选择12,Google Drive,注意该序列号会随时变化,看清楚再填
client_id>850428#填上你的Google Drive客户端ID
client_secret> D72gPc #填上你的Google Drive客户端密匙Choose a number from below,or type in your own value
1/Full access all files, excluding ApplicationDataFolder."drive"2/Read-only access to file metadata and file contents."drive.readonly"/Access to files created by rclone only.3|These are visible in the drive website.|File authorization is revoked when the user deauthorizes the app."drive.file"/Allows read and write access to the ApplicationData folder.4|Thisisnot visible in the drive website."drive.appfolder"/Allows read-only access to file metadata but
5| does not allow any access to read or download file content."drive.metadata.readonly"
scope>1
ID of the root folder
Leave blank normally.Fillin to access "Computers" folders.(see docs).Enter a string value.PressEnterfor the default("").
root_folder_id>ServiceAccountCredentials JSON file path
Leave blank normally.Needed only if you want use SA instead of interactive login.Enter a string value.PressEnterfor the default("").
service_account_file>Edit advanced config?(y/n)
y)Yes
n)No
y/n> n #输入nRemote config
Useauto config?*Say Y ifnot sure
*Say N if you are working on a remote or headless machine
y)Yes
n)No
y/n> n #输入nIf your browser doesn't open automatically go to the following link: https://accounts.google.com/o/ #打开该地址获取code
Log in and authorize rclone for access
Enter verification code>hjdd #输入你获取到的code
Configure this as a team drive?
y) Yes
n) No
y/n> n #输入n
--------------------
[Rats]
type = drive
client_id = 85042871
client_secret = D72gPc
scope = drive
token = {"access_token":"y902Z"} #记住里面的refresh_token参数
--------------------
y) Yes this is OK
e) Edit this remote
d) Delete this remote
y/e/d> y #输入y
Current remotes:
Name Type
==== ====
Rats drive
e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> q #输入q保存退出