dropbox

The purpose of this document is to explain how to install and run Dropbox on Linux.

```

wget -O /usr/local/bin/dropbox.py "http://www.dropbox.com/download?dl=packages/dropbox.py"

chmod +x /usr/local/bin/dropbox.py

username="dropbox" && homedir="/home/${username}" && useradd --home "${homedir}" --create-home "${username}"

su - dropbox

ssh-keygen -t rsa -C "dropbox@jgspratt.com"

dropbox.py start -i

# This will install dropbox.py

dropbox.py start

# This will generate a message like "To link this computer to a dropbox account, visit the following url:"

# Log into Dropbox, and then copy that link into your browser (in the same browser session).

dropbox.py status

Downloading file list...

Updating (1,371 files, 17 mins left)

Downloading 1,371 files (4,776 kB/sec, 17 mins left)

dropbox.py help

```

***

```

Note: use dropbox help to view usage for a specific command.

status get current status of the dropboxd

help provide help

puburl get public url of a file in your dropbox

stop stop dropboxd

running return whether dropbox is running

start start dropboxd

filestatus get current sync status of one or more files

ls list directory contents with current sync status

autostart automatically start dropbox at login

exclude ignores/excludes a directory from syncing

lansync enables or disables LAN sync

```

***

## The Other Way (that doesn't work)

```

# Install rpmforge

yum -y install dropbox

dropbox --help

```

You will receive a message like this:

```

This client is not linked to any account...

Please visit https://www.dropbox.com/cli_link?host_id=2377760ab024876cb17a6aee9ec2212f&cl=en_US to link this machine.

…

```

Keep letting the output of the `dropbox --help` command display. Log into Dropbox, and then copy that link into your browser (in the same browser session). When you visit that link successfully, the output of the log will show this:

```

Client successfully linked, Welcome Ecommerce!

```