Rav*_*van 14 software-installation 14.04
我正在使用 Ubuntu 14.04。如何在 Ubuntu 14.04 上同步我的 OneDrive 帐户?
我知道 OneDrive 是 Microsoft 云存储服务,不支持 Linux。
但是有一个工具叫做“OneDrive-D”。如何安装和使用“OneDrive-D”?
Rav*_*van 15
正如@terdon所说,Onedrive-D 仍在开发中。
或者,您可以使用其他云存储服务。
以下是有关如何安装“OneDrive-D”的说明:
步骤 2:提取.zip
文件内容并从“onedrive-d-master”运行安装程序。
为此按Ctrl+ Alt+T并执行:
cd ~/Downloads
ls
unzip onedrive-d-old-future.zip
cd onedrive-d-old-future
./install.sh
Run Code Online (Sandbox Code Playgroud)
注1:我使用ls
命令列出该文件夹中的文件并避免文件名错误。因为还有另一个用于相同目的的新项目。
注2:onedrive-d 需要 python- 3。先决条件请参考这里,但是在安装过程中会安装所有必需的软件。因此无需担心先决条件。
第 3 步:安装后,您将看到如下消息:
onedrive-d installed successfully.
Please run command `onedrive-pref` to set up the program.
Run Code Online (Sandbox Code Playgroud)
现在打开终端并运行: onedrive-pref
在浏览器中打开链接并输入您的用户名和密码。
你会看到这样的提示:
单击YES。然后复制链接并将其粘贴到终端中。您将看到如下消息:
onedrive-d has been successfully authorized
Run Code Online (Sandbox Code Playgroud)
接下来,您需要调整设置,如果您想保持默认设置,只需按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.
Run Code Online (Sandbox Code Playgroud)
最后,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.
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
74304 次 |
最近记录: |