"Dropbox is a free service that lets you bring all your photos, docs, and videos anywhere. This means that any file you save to your Dropbox will automatically save to all your computers, phones and even the Dropbox website. Dropbox also makes it super easy to share with others, whether you're a student or professional, parent or grandparent. Even if you accidentally spill a latte on your laptop, have no fear! You can relax knowing that Dropbox always has you covered, and none of your stuff will ever be lost."
Note: All upload to the Dropbox servers from your Whatbox slot will count towards your traffic limits.
- SSH into your server.
- Make sure that you are in the root of your home directory with
- Since all Whatbox servers have an x86-64 architecture, we need to download the x86-64 Dropbox client.
wget -O dropbox.tar.gz "http://www.dropbox.com/download/?plat=lnx.x86_64"
- Extract the newly download archive.
tar -xvzf dropbox.tar.gz
- Run the Dropbox daemon.
- You should now see output similar to this
This client is not linked to any account... Please visit https://www.dropbox.com/cli_link?host_id= to link this machine.
- Go to the URL given in your SSH client (not the one in this Wiki article's example message); you should see a success message at the top of your screen after logging in.
- It is recommended to exit Dropbox now with Ctrl+C and install the official Dropbox CLI (continue on to post-installation for instructions)
Official Dropbox CLI (Command-line Interface)
Note: This script is required for most Dropbox functionality. It is recommended to download the official Dropbox CLI to start the dropbox daemon (as an unprivileged user) and get its status.
- Download the Python script.
wget -O ~/dropbox.py "http://www.dropbox.com/download?dl=packages/dropbox.py"
- Give your account access to execute the script.
chmod 755 ~/dropbox.py
- To see the available options, run
Changing the dropbox folder location
To move an existing dropbox folder to /foo/bar:
- Stop dropbox.
- Backup your current Dropbox database.
cp ~/.dropbox/dropbox.db dropbox.db.backup
- Download the dropboxdir.py script. This script is used to modify Dropbox's database file.
- Give your account access to execute the new script.
chmod +x dropboxdir.py
- Move the current Dropbox directory to a new directory named "bar", located in the directory "foo".
mv ~/Dropbox /foo/bar
- Set Dropbox to use the new folder
- Start Dropbox.
Using symbolic links to move the folder location
- Stop Dropbox.
- Move your current Dropbox folder to a directory named "folder" located inside the directory "target"
mv ~/Dropbox /target/folder
- Create the symbolic link.
ln -s /target/folder/Dropbox ~/
- Start Dropbox.
Unlink / Relink dropbox account
mv ~/.dropbox ~/.dropbox.old
Exclude certain folders from syncing
Display currently excluded directories
~/dropbox.py exclude list
Add one or more directories to the exclusion list, then resynchronize Dropbox.
~/dropbox.py exclude add [directory] [directory] [directory]
NOTE: be sure to specify the full path to [directory] above, or else the script will ignore your command.
~/dropbox.py exclude add ~/Dropbox/Public
Remove one or more directories from the exclusion list, then resynchronize Dropbox.
~/dropbox.py exclude remove [directory] [directory] [directory]
Check Dropbox's status
Stop and start the Dropbox daemon