Rclone Config加载OneDrive由于token太长老出错

我这两天刚搞了A1P和E3 MSDN全局,然后再开了子号,用rclone config的时候老是出错。


但这种方法需要先配置自己的Azure App ID & Secret, 参考本馆档案

然后在本地Mac的terminal里面,正常进行 rclone config。

Make sure your Redirect URL is set to "http://localhost:53682/" in your custom 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

### 只有这一步和在远程VPS的选择不一样
y/n> y

If your browser doesn't open automatically go to the following link:
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 / Type in driveID
   \ "driveid"
 4 / Type in SiteID
   \ "siteid"
 5 / Search a Sharepoint site
   \ "search"
Your choice> 1

最后生成的conf 文件在这

Mac-mini at ~/rclone ❯ ./rclone config file
Configuration file is stored at:

在这个rclone.conf文件拷到远程VPS,覆盖 /root/.config/rclone/rclone.conf

bwh49 at ~ ❯ rclone config file
Configuration file is stored at:


Leave a Reply