s) Set configuration password
Type of storage to configure.
Enter a string value. Press Enter for the default ("").
Choose a number from below, or type in your own value
2 / Alias for an existing remote
4 / Amazon S3 Compliant Storage Provider (AWS, Alibaba, Ceph, Digital Ocean, Dreamhost, IBM COS, Minio, etc)
9 / Encrypt/Decrypt a remote
11 / Google Cloud Storage (this is not Google Drive)
19 / Microsoft Azure Blob Storage
22 / Openstack Swift (Rackspace Cloud Files, Memset Memstore, OVH)
25 / QingCloud Object Storage
27 / Union merges the contents of several remotes
Storage> 12 # 选择 Google Drive,注意该序列号可能会变化,看清楚自己所需
client_id> # 在启用谷歌 API 页面上生成的客户端 ID
client_secret> # 在启用谷歌 API 页面上生成的客户端 Secret
Choose a number from below, or type in your own value
1 / Full access all files, excluding Application Data Folder.
2 / Read-only access to file metadata and file contents.
/ 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.
/ Allows read and write access to the Application Data folder.
4 | This is not visible in the drive website.
/ Allows read-only access to file metadata but
5 | does not allow any access to read or download file content.
\ "drive.metadata.readonly"
scope> 2 # 选择授权范围:全部、只读、读写等等
Fill in to access "Computers" folders. (see docs).
Enter a string value. Press Enter for the default ("").
root_folder_id> # 根目录 ID,置空即可
Service Account Credentials JSON file path
Needed only if you want use SA instead of interactive login.
Enter a string value. Press Enter for the default ("").
service_account_file> # 服务账号 JSON 文件路径,置空即可
Edit advanced config? (y/n)
* Say N if you are working on a remote or headless machine
If 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> # 此步骤会出现回调 URL 链接,将此链接复制到浏览器会请求登录谷歌,并询问是否同意授权,同意后会得到 code
Configure this as a team drive?
token = {} # 此步骤会显示最终结果,复制其中的 refresh_token 供 API 使用
s) Set configuration password