从shell脚本配置一个驱动器
我想使用shell脚本将rclone配置为使用OneDrive。我想要的唯一用户交互是身份验证。目前,我正在使用命令行:从shell脚本配置一个驱动器,shell,rclone,Shell,Rclone,我想使用shell脚本将rclone配置为使用OneDrive。我想要的唯一用户交互是身份验证。目前,我正在使用命令行: $ rclone config create MyOneDrive onedrive --onedrive-drive-type business 但是,当我想列出驱动器内容时,出现了错误: $ rclone ls MyOneDrive: 2020/02/24 22:28:21 Failed to create file system for "MyOneDrive:":
$ rclone config create MyOneDrive onedrive --onedrive-drive-type business
但是,当我想列出驱动器内容时,出现了错误:
$ rclone ls MyOneDrive:
2020/02/24 22:28:21 Failed to create file system for "MyOneDrive:": unable to get drive_id and drive_type - if you are upgrading from older versions of rclone, please run `rclone config` and re-configure this backend
实际上,当我点击rclone config
并编辑遥控器时,drive\u id
被找到并保存在配置中。我的问题是我不想使用第二个rclone config
步骤。为什么在运行第一个命令时找不到驱动器id?谢谢
有什么想法吗?您找到解决方案了吗?没有,对于onedrive,您可以使用。