• 追加された行はこの色です。
  • 削除された行はこの色です。
* CUIでDropboxを使う [#fdb0507f]

>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
>        
>If you're running Dropbox on your server for the first time, you'll be asked to copy and paste a link in a working browser to create a new account or add your server to an existing account. Once you do, your Dropbox folder will be created in your home directory. Download this CLI script to control Dropbox from the command line. For easy access, put a symlink to the script anywhere in your PATH.
>

** バイナリをダウンロードする [#te28b82d]
32-bit:
 cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86" | tar xzf -

64-bit:
 cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -

** 初回起動して認証を行う [#b0cd1eea]
 ~/.dropbox-dist/dropboxd
画面にURLが表示されるので、手元のPCのブラウザでアクセする。

** 制御スクリプトを取得する [#ha18680c]
 cd $HOME/bin
 get "https://www.dropbox.com/download?dl=packages/dropbox.py"
 chmod 755

** lansyncを無効にする [#u63111b9]
 dropbox.py lansync n

** 参考 [#l1068878]
https://www.dropbox.com/install?os=lnx


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS