1.脚本安装(ubuntu)
curl https://rclone.org/install.sh | sudo bash
2.配置
rclone config
3.挂载
rclone mount onedrive:/oucbl /home/bl/One-Drive --copy-links --no-gzip-encoding --no-check-certificate --allow-other --allow-non-empty --umask 000
onedrive:/oucbl 为rclone挂载的盘名称及要挂载的文件夹路径
/home/bl/One-Drive 为本地挂载文件夹路径(需要已经创建好)
4.可能的问题
Fatal error: failed to mount FUSE fs: fusermount: exec: "fusermount3": executable file not found in $PATH
如题:
ln -s /bin/fusermount /bin/fusermount3