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 creates a special folder on the user's computer, the contents of which are then synchronized to Dropbox's servers and to other computers and devices that the user has installed Dropbox on, keeping the same files up-to-date on all devices. I use Dropbox to backup in near real-time all my server to cloud, beside another daemon creating encrypted backup with Duplicity


  1. SSH into your server.
  2. Make sure that you are in the root of your home directory with cd
  3. Download the x86-64 (if it apply else the 32bits) Dropbox client. wget -O dropbox.tar.gz "http://www.dropbox.com/download/?plat=lnx.x86_64"
  4. Extract the newly download archive. tar -xvzf dropbox.tar.gz
  5. Run the Dropbox daemon. ~/.dropbox-dist/dropboxd
  6. 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.
  7. Go to the URL given in your SSH client you should see a success message at the top of your screen after logging in.
  8. 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.

  1. Download the Python script. wget -O ~/dropbox.py "http://www.dropbox.com/download?dl=packages/dropbox.py"
  2. Give your account access to execute the script. chmod 755 ~/dropbox.py
  3. To see the available options, run ~/dropbox.py help

Changing the dropbox folder location

To move an existing dropbox folder to /foo/bar:

  1. Stop dropbox. ~/dropbox.py stop
  2. Backup your current Dropbox database. cp ~/.dropbox/dropbox.db dropbox.db.backup
  3. Download the official script for helping with the directory transition. wget http://dl.dropbox.com/u/119154/permalink/dropboxdir.py
  4. Give your account access to execute the new script. chmod +x dropboxdir.py
  5. Move the current Dropbox directory to a new directory named "bar", located in the directory "foo". mv ~/Dropbox /foo/bar
  6. Set Dropbox to use the new folder ./dropboxdir.py --setfolder=/foo/bar
  7. Start Dropbox. ~/dropbox start

Using symbolic links to move the folder location

  1. Stop Dropbox. ~/dropbox.py stop
  2. Move your current Dropbox folder to a directory named "folder" located inside the directory "target" mv ~/Dropbox /target/folder
  3. Create the symbolic link. ln -s /target/folder/Dropbox ~/
  4. Start Dropbox. ~/dropbox.py start

Unlink / Relink dropbox account

To unlink:

~/dropbox.py stop mv ~/.dropbox ~/.dropbox.old

To relink:


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. e.g. ~/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

~/dropbox.py status

Stop and start the Dropbox daemon

Stop Dropbox. ~/dropbox.py stop

Start Dropbox. ~/dropbox.py start

Check for more command https://www.dropbox.com/help/desktop-web/linux-commands 

comments powered by Disqus

You might like also

But what *is* a Neural Network? part 2
Neural Networks Demystified [Part 1: Data and Architecture] Neural Networks Demystified [Part 2: Forward Propagation] Neural Networks Demystified [Part 3: Gradient Descent] Neural Networks Demystified [Part 4: Backpropagation] Neural Networks Demystified [Part 5: Numerical Gradient Checking] Neural Networks Demystified [Part 6: Training] Neural Networks Demystified [Part 7: Overfitting, Testing, and Regularization] …
1 Days ago
But what *is* a Neural Network?
Here are the best video i've found on the subject. Moreover this channel is among the best also for learning mathematical concept in a very didactic way! Chapter 1, deep learning Gradient descent, how neural networks learn What is backpropagation really doing? Backpropagation calculus …
1 Days ago
The Business Blockchain: Promise, Practice, and Application of the Next Internet Technology
The Business blockchain by William Mougayar is a good primer for understanding the potential impact of the block chain and a fantastic insight into the future applications of blockchain technology.  The intro, by Ethereum's founder, Vitalik Buterin, did a very good job at setting the picture up of how the blockchain is an inevitable byproduct of the times, created by a need for trust. William Mougayar does not go into specific short term ways of teaching you how to create value via the …
1 Days ago
Blockchain Crypto Valley Map
For the first time a comprehensive overview is available that shows the size, importance and diversity of the whole ecosystem in the Crypto Valley. http://cryptovalley.directory lists more than 350 companies developing and using blockchain technologies The Swiss blockchain ecosystem, also known as the Crypto Valley, is home to a growing number of startups, service providers and other organizations. The Crypto Valley Map is a constantly updated database of these ecosystem contributors, provided for free. I was having lots of fun implementing …
1 Days ago
Jincor Targets to Bring Smart Contracts to 10,000 Businesses by the end of 2018
Even though everyone is talking about smart contracts and their advantages over traditional paper contracts, only a handful of people are addressing the elephant in the room: most of the businesses don’t know how to use smart contracts yet. Jincor is among those few who are trying to make smart contracts and other blockchain technologies more accessible to modern businesses. And anyone can chime in by joining the project’s public token sale, which starts today, on the 1st of December. Jincor is a …
93 Days ago
How to accept Bitcoin on a website using Electrum and Letsencrypt
This tutorial will show you how to accept Bitcoin on a website with SSL signed payment requests using Electrum, required is a shell access and enough permission to install electrum A webserver serving static HTML A SSL certificate (signed by a CA) Electrum version >= 2.6 Install dependencies: sudo apt-get install python3-setuptools python3-pyqt5 python3-pip Install Electrum: sudo pip3 install https://download.electrum.org/3.0.3/Electrum-3.0.3.tar.gz then run on your server electrum create electrum daemon start electrum setconfig ssl_privkey /etc/letsencrypt/live/xxxxxx.com/privkey.pem electrum setconfig ssl_chain /etc/letsencrypt/live/xxxxxx.com/cert.pem  electrum setconfig …
95 Days ago
Ethereum Solidity modern development environment
Here are the list of tips and tricks to develop solidity in a modern way (understand back to 2017 year :-) ) IDE Support I recommend you to use the excellent Jetbrains Webstorm or Intellij IDEA with the folllowing free plugins: Intellij-Solidity see https://github.com/intellij-solidity/intellij-solidity Solidity Solhint Plugin allow to enable Solhint inspection capabilities in your project. It highlight of warnings / errors found by the linter in editor during code modification. Refactoring in Javascript is excellent but still not supported in …
110 Days ago
No Thumbnail was found
work in progress - daily update Feedback is welcome in comments section, or through my contact form click on map, to view in full size …
147 Days ago
How to: Securing your Crypto  Assets
work in progress - daily update - a more convenient online version is also hosted at https://github.com/cedricwalter/Securing-Crypto-Assets  Pull requests are welcomed! Feedback is welcome in comments section, or through my contact form click on map, to view in full size …
147 Days ago
Big Bang Blockchain: La seconde révolution d'internet de Stéphane Loignon
La blockchain est annoncée comme une révolution technologique, économique, politique et sociétale aussi puissante qu’Internet. Cette « chaîne de blocs » promet d’être l’outil incontournable de demain. À quoi sert la blockchain ? Cette nouvelle technologie permet avant tout d’envoyer de l’argent en ligne sans intermédiaire : ni banque, ni compagnie de carte de crédit. Elle pourrait bouleverser la finance, l’assurance et le transfert d’argent tout en étant le moteur d’un vaste mouvement de décentralisation de l’économie numérique. Grâce à elle, certains rêvent …
165 Days ago