用Rclone在Linux下与OneDrive同步
接触Obsidian以后,决心将笔记从OneNote转换成Markdown格式,再由Obisian管理,同步则还是用OneDrive。OneDrive在Linux下没有客户端,不过可以借助Rclone与OneDrive API交互做同步。 安装 curl https://rclone.org/install.sh | sudo bash 配置 Rclone的文档相当齐全,这里参考https://rclone.org/onedrive/ 进行配置。终端输入 rclone config 按提示设定storage的名称(这里设定为onedrive),选择storage类型为Microsoft OneDrive,随后Rclone会唤起浏览器打开登录页面 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> n name> onedrive 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 [snip] XX / Microsoft OneDrive \ "onedrive" [snip] Storage> onedrive Microsoft App Client Id Leave blank normally....