8
10

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

DropBox Linux CLI インストール

Posted at

Dropbox Linux CLI インストール手順

##pythonのインストール

# yum install python

##ソースコードのダウンロード

# wget -O - http://www.dropbox.com/download?plat=lnx.x86_64 | tar xzf -

##Dropboxデーモンの実行

###下記コマンド実行後に表示されるURLでアカウントの登録

# ~/.dropbox-dist/dropboxd

##操作用コマンドのダウンロード

# mkdir /root/.dropbox/bin ←パスが通っているところ
# cd /root/.dropbox/bin
# wget -O dropbox.py https://www.dropbox.com/download?dl=packages/dropbox.py
# chmod u+x dropbox.py

##dropbox.pyの変更

###ディレクトリの確認

# ls /usr/bin/python{tab}

##dropbox.pyの一行目を変更

# vi /dropbox.py
#!/usr/bin/pythonを#!/usr/bin/python{上記で書くにしたディレクトリ}

##dropboxの起動

# dropbox.py start

##LAN接続時の同期をOFF

# dropbox.py lansync n
8
10
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
10

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?