如何在Ubuntu 14.04上同步OneDrive?
我使用的是Ubuntu 14.04。 如何在Ubuntu 14.04上同步我的OneDrive帐户?
我知道OneDrive是Microsoft云存储服务,不支持Linux。
但是有一个名为“OneDrive-D”的工具。 如何安装和使用“OneDrive-D”?
正如@terdon所说,Onedrive-D仍处于开发阶段。
或者,您可以使用其他云存储服务 。
以下是有关如何安装“OneDrive-D”的说明:
第1步: 从GitHub下载程序 。
步骤2:解压缩.zip
文件的内容并从“onedrive-d-master”运行安装程序。
为此按Ctrl + Alt + T并执行:
cd ~/Downloads ls unzip onedrive-d-old-future.zip cd onedrive-d-old-future ./install.sh
注 1:我使用ls
命令列出该文件夹中的文件,并避免文件名中的错误。有另一个新项目用于相同的目的。
注 2:onedrive-d需要python- 3 。 请参阅此处了解先决条件,但在安装过程中将安装所有必需的软件。因此无需担心先决条件。
第3步:安装完成后,您将看到如下消息:
onedrive-d installed successfully. Please run command `onedrive-pref` to set up the program.
现在打开终端并运行: onedrive-pref
在浏览器中打开链接并输入您的用户ID和密码。
你会看到这样的提示:
单击是 。 然后复制链接并将其粘贴到终端。您将看到如下消息:
onedrive-d has been successfully authorized
接下来,您需要调整设置,如果您想保持默认设置,只需按n 。如果您想更改,请按y并调整。
例:
(STEP 2/4) Do you want to specify path to local OneDrive repository? [Y/n] y Please enter the abs path to sync with your OneDrive (default: /home/[name]/OneDrive): Path successfully set. (STEP 3/4) Do you want to change the numeric settings? [Y/n] n Skipped. (STEP 4/4) Do you want to edit the ignore list file? [Y/n] n Skipped All steps are finished.
最后, onedrive-d --help
命令。
onedrive-d [command]
Commands: start Start the daemon. stop Stop the daemon. restart Stop then start the daemon. status Get the status of the daemon.