Created
April 19, 2012 00:42
-
-
Save uechi-y/2417583 to your computer and use it in GitHub Desktop.
download dropbox cli and disable lansync
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Dropbox CLI スクリプトをダウンロードして LAN sync を無効にする | |
# Dropbox CLI スクリプトをダウンロード | |
wget -O dropbox.py "https://www.dropbox.com/download?dl=packages/dropbox.py" | |
chmod +x dropbox.py | |
# LAN sync を無効にする | |
echo disable lansync | |
./dropbox.py running && ./dropbox.py start # dropbox が動いていないなら起動する | |
./dropbox.py lansync n | |
# スクリプトを利用しやすいように /usr/local/bin/dropbox として保存する | |
sudo mv dropbox.py /usr/local/bin/dropbox |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment