C:\Users\Administrator>rclone config No remotes found - make a new one n) New remote s) Set configuration password q) Quit config n/s/q> n *//第一步:新建配置* name> e5 Typeof 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 / AmazonS3CompliantStorageProviders including AWS, Alibaba, Ceph, DigitalOcean, Dreamhost, IBMCOS, Minio, and TencentCOS \ "s3" 5 / BackblazeB2 \ "b2" 6 / Box \ "box" 7 / Cache a remote \ "cache" 8 / CitrixSharefile \ "sharefile" 9 / Compress a remote \ "compress" 10 / Dropbox \ "dropbox" 11 / Encrypt/Decrypt a remote \ "crypt" 12 / EnterpriseFileFabric \ "filefabric" 13 / FTPConnection \ "ftp" 14 / GoogleCloudStorage (this is not GoogleDrive) \ "google cloud storage" 15 / GoogleDrive \ "drive" 16 / GooglePhotos \ "google photos" 17 / Hadoop distributed file system \ "hdfs" 18 / Hubic \ "hubic" 19 / In memory object storage system. \ "memory" 20 / Jottacloud \ "jottacloud" 21 / Koofr \ "koofr" 22 / LocalDisk \ "local" 23 / Mail.ruCloud \ "mailru" 24 / Mega \ "mega" 25 / MicrosoftAzureBlobStorage \ "azureblob" 26 / MicrosoftOneDrive \ "onedrive" 27 / OpenDrive \ "opendrive" 28 / OpenStackSwift (RackspaceCloudFiles, MemsetMemstore, OVH) \ "swift" 29 / Pcloud \ "pcloud" 30 / Put.io \ "putio" 31 / QingCloudObjectStorage \ "qingstor" 32 / SSH/SFTPConnection \ "sftp" 33 / Sugarsync \ "sugarsync" 34 / TardigradeDecentralizedCloudStorage \ "tardigrade" 35 / Transparently chunk/split large files \ "chunker" 36 / Union merges the contents of several upstream fs \ "union" 37 / Webdav \ "webdav" 38 / YandexDisk \ "yandex" 39 / Zoho \ "zoho" 40 / http Connection \ "http" 41 / premiumize.me \ "premiumizeme" 42 / seafile \ "seafile" Storage> 26 *//第二步:选择26 Microsoft OneDrive* ** See help for onedrive backend at: https://rclone.org/onedrive/ **
OAuthClientId Leave blank normally. Enter a string value. PressEnterfor the default (""). client_id> OAuthClientSecret Leave blank normally. Enter a string value. PressEnterfor the default (""). client_secret> Choose national cloud region forOneDrive. Enter a string value. PressEnterfor the default ("global"). Choose a number from below, or type in your own value 1 / MicrosoftCloudGlobal \ "global" 2 / MicrosoftCloudforUSGovernment \ "us" 3 / MicrosoftCloudGermany \ "de" 4 / Azure and Office365 operated by 21Vianet inChina \ "cn" region> 1 *//第三步:选择1 国际版* Edit advanced config? (y/n) y) Yes n) No (default) y/n> n *//第四步:选择n 不进行高级设置* Remote config Use auto config? * Say Y if not sure * Say N if you are working on a remote or headless machine y) Yes (default) n) No y/n> y *//第五步:输入y 使用自动配置授权*
*//输入y后会打开默认浏览器 登录Microsoft账号后 选择 是 即可*
If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth?state=bWBcEsbfRHRZIgcZY7Fg_w Log in and authorize rclone for access Waiting for code... Got code Choose a number from below, or type in an existing value 1 / OneDrive Personal or Business \ "onedrive" 2 / Root Sharepoint site \ "sharepoint" 3 / Sharepoint site name or URL (e.g. mysite or https://contoso.sharepoint.com/sites/mysite) \ "url" 4 / Search for a Sharepoint site \ "search" 5 / Type in driveID (advanced) \ "driveid" 6 / Type in SiteID (advanced) \ "siteid" 7 / Sharepoint server-relative path (advanced, e.g. /teams/hr) \ "path" Your choice> 1 *//第六步:选择1 onedrive* Found 1 drives, please select the one you want to use: 0: OneDrive (business) id=****************** Chose drive to use:> *0 //第七步:选择0: 账号ID* Found drive 'root' of type 'business', URL: ******************* Is that okay? y) Yes (default) n) No y/n> y *//第八步:选择y 获取账号root权限* -------------------- [e5] type = onedrive region = global token = ******* drive_id = ********* drive_type = business -------------------- y) Yes this is OK (default) e) Edit this remote d) Delete this remote y/e/d> y *//第九步:选择y 确认配置* Current remotes: Name Type ==== ==== e5 onedrive 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 退出* C:\Users\Administrator>