DropBox for Linux 在 CLI 環境就可以安裝了, 不需要圖形環境, 寫這篇文章時的版本是 1.2.51
官網的說明是這樣 Install Dropbox via command line
The Dropbox daemon works fine on all 32-bit and 64-bit Linux servers. To install, run the following command in your Linux terminal.
32-bit:
$ cd ~ && wget -O - http://www.dropbox.com/download?plat=lnx.x86 | tar xzf -
64-bit:
$ cd ~ && wget -O - http://www.dropbox.com/download?plat=lnx.x86_64 | tar xzf -
Next, run the Dropbox daemon from the newly created .dropbox-dist folder.
$ ~/.dropbox-dist/dropboxd
然後 Console 會出現如下訊息:
This client is not linked to any account...
Please visit https://www.dropbox.com/cli_link?host_id=8430c241f1d910381d129605c2e1dd89&cl=en_US to link this machine.
上面的連結可以用不同的電腦連, 登入 DropBox 後即可完成帳號連結, 隨即會開始同步檔案
若您是用 root 帳號來跑 DropBox, 可以加到 rc.local, 以利下次開機執行
echo ~/.dropbox-dist/dropboxd >> /etc/rc.local
新增或刪除檔案, 很快就進行同步, 跟 Windows 版沒什麼兩樣.
Recent Comments