Clone from gitHub
git clone git@github.com:TEVASAKI/dotfiles.git
環境はCentOS6.5
$ wget -O dropbox-lnx.x86.tar.gz "https://www.dropbox.com/download?plat=lnx.x86"
$ tar zxvf dropbox-lnx.x86.tar.gz
$ ‾/.dropbox-dist/dropboxd
log
This client is not linked to any account...
Please visit https://www.dropbox.com/cli_link?host_id=xxxxyyyyzzzz to link this machine.
Client successfully linked, Welcome tevasaki!
^C
$ wget -O dropbox.py "https://www.dropbox.com/download?dl=packages/dropbox.py"
$ chmod 700 dropbox.py
# mv dropbox.py /usr/local/bin/dropbox
$ dropbox start -i
log
Starting Dropbox...
Dropbox is the easiest way to share and store your files online. Want to learn more? Head to https://www.dropbox.com/
In order to use Dropbox, you must download the proprietary daemon.
Note: python-gpgme is not installed, we will not be able to verify binary signatures. [y/n] y
Downloading Dropbox... 100%
Unpacking Dropbox... 100%
Done!
$ dropbox status
最新の状態
$ dropbox exclude add ‾/Dropbox/dotfiles/
Excluded:
dotfiles
- .gitファイルまで同期してしまうので、よくコンフリクトして xxx の競合コピー みたいなのが作られて色々とおかしく、面倒臭くなるので。
$ dropbox exclude add ‾/Dropbox/Photos/
Excluded:
photos
$ dropbox exclude add ‾/Dropbox/public/
Excluded:
public
$ dropbox exclude add ‾/Dropbox/share/
Excluded:
share
$ dropbox exclude add ‾/Dropbox/tool/
Excluded:
tool
$ dropbox exclude list
log
photos
public
share
tool
$ Dropbox --help
Dropbox command-line interface
commands:
Note: use dropbox help to view usage for a specific command.
autostart automatically start dropbox at login
exclude ignores/excludes a directory from syncing
filestatus get current sync status of one or more files
help provide help
lansync enables or disables LAN sync
ls list directory contents with current sync status
puburl get public url of a file in your dropbox
running return whether dropbox is running
start start dropboxd
status get current status of the dropboxd
stop stop dropboxd