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

Installation

  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)

Post-installation

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:

~/.dropbox-dist/dropboxd

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

systematization of knowledge within major blockchain protocols or consensus
Alexis Gauba presented a systematization of knowledge within major blockchain protocols or consensus, addresses the common challenges, economic model and solutions and provides a formal structure within which to compare them in this keynote presentation at Hyperledger Global Forum. …
68 Days ago
Stablecoins: Crypto's Holy Grail or Fools’ Errand? by Dr Garrick Hileman
I was attending the interesting LECTURE "Stablecoins: Crypto's Holy Grail or Fools’ Errand?" by Dr Garrick Hileman - Head of reseach at Blockchain - London School of Economics - United Kingdom at hashtagETH hashtagZurich and here is a copy of the slides Introducing: 2019 State of Stablecoins The 2019 report builds on its predecessor to provide an updated and expanded look at the current state of the stablecoin market - a space where we expect to see significant innovation in …
68 Days ago
The State of Stablecoins 2019: Hype vs. Reality in the Race for Stable, Global, Digital Money
The report, entitled “The State of Stablecoins 2019: Hype vs. Reality in the Race for Stable, Global, Digital Money” is based on information collected from 40 crypto and stablecoin firms. The report’s lead author is George Samman, a blockchain and cryptocurrency advisor. According to the document, Samman “was commissioned to research the stablecoin landscape and then independently report his findings for the broader industry to learn from.” https://bit.ly/2TWc1ao      …
68 Days ago
ICO STATISTICS FOR 2018 AND OUTLOOK FOR 2019
The last 6 months of ICO have been imported and can be browse at https://ico.tokens-economy.com/statistics. I display there historical ICO data for all cryptocurrencies friendly countries for each month of the year. What you can get out of all these charts: You can see the number of ICO per months over 13 major countries (Cayman-Islands, UK, USA, Cyprus, Estonia, France, Germany, Liechtenstein, Malta, Russia, Singapore, Slovenia, Switzerland), Each country has its own color, how often that color appear on the map represents the …
68 Days ago
MAJOR BLOCKCHAIN CONSENSUS ALGORITHMS AS AN INFOGRAPHICS
Consensus algorithms enable network participants to agree on the contents of a blockchain in a distributed and trust-less manner. I’ve listed in the past few months all of them at tokens-economy.gitbook.io/consensus/ and thought it will be cool also to produce an Infographics The PNG (4528 x 2894 px, 2.5MB) can be downloaded here and the PDF version (280kb) with clickable consensus links here …
68 Days ago
No Thumbnail was found
Usually, a percentage of the tokens is sold to ICO participants and a percentage kept for the company’s needs. The token distribution and allocation of the token is usually a chapter in the future company whitepaper. A pie chart displays how and to whom tokens will be allocated. But how much tokens are allocated (amount) and what are they used for? how much token should I spend for advisor? is 15% of all tokens too much for founder? How many …
260 Days ago
No Thumbnail was found
introduction This is my attempt to list all possible blockchain consensus out there, I welcome pull request of the blockchain community! let's make it the main reference for blockchain consensus. Visit also Tokens-Economy.com to keep track of new developments in the distributed ledger technology space. Blockchain Consensus? At the core of the Blockchain disruption is a consensus algorithm: Consensus algorithms enable network participants to agree on the contents of a blockchain in a distributed and trust-less manner. “Consensus decision-making is a group …
271 Days ago
Initial Coin Offering security checklist
Blockchain technology and cryptocurrencies have revolutionized the way companies raise capital but at the same time are bringing their own sets of challenges. To ensure that your startup will go through that (ad)venture in a safe manner, you should always adhere to best security practices, for your company AND your investors.  This mind map will present you in a visual way lots of valuable information like: A compilation of the most dangerous threats to the ICO industry and how to mitigate, …
292 Days ago
Initial Coin Offering in most relevant countries
 This new rendering will allow you to better compare countries The rendering being dynamic you can also pass some parameters like https://ico.tokens-economy.com/statistics/collage.html?width=800&height=800 The default size is width=450&height=450 Filter by year ico end. e.g all ico ended in 2017 https://ico.tokens-economy.com/statistics/collage.html?year=2017  Filter by category and year https://ico.tokens-economy.com/statistics/collage.html?category=Cryptocurrency  And more ICO with no raised amount is also displayed now. ICO webpage has been added Text in bubble scale now properly and are always centered     …
306 Days ago
2751 coins, 47 Consensus and 82 cryptographic algorithms
The innovation speed in Blockchain landscape is just breathtaking and being able to (or to be honest trying to...) follow all these rapid changes is a chance for all software engineers. At the core of the Blockchain disruption are consensus algorithm: Consensus algorithms enable network participants to agree on the contents of a blockchain in a distributed and trust-less manner. And the consensus algorithm plays a crucial role in maintaining the safety and efficiency of blockchain. Using the right algorithm may bring a significant increase to the …
314 Days ago