Dropbox

The Dropbox daemon is only compatible with 64-bit Linux servers. To install, run the following command in your Linux terminal.

cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -

Next, run the Dropbox daemon from the newly created .dropbox-dist folder.

After I logged in at https://www.dropbox.com I ran

~/.dropbox-dist/dropboxd

and then a tab opened in my browser with the message:

Francisco Fernández-Victorio,

Would you like to connect the computer francisco-hpnotebook to your Dropbox account (franciscofvh@hotmail.com)? If you didn't request this, please click cancel.

But it complained that I wanted to sign in from more than three devides

Select devices to sign out from

You can stay signed in on up to 3 devices. Signing out won't delete any of your files.

I duly oblige and get:

You're all set to install Dropbox on your computer

Now that you've made room on your devices list, you can continue to install Dropbox on your computer.

Sometime in the process a ~/Dropbox/ forder is created after former samenamed folder gets renamed to ~/Dropbox\ \(Old\)/. No dropbox command available, though. But copying files to ~/Dropbox/ seems to upload them to the dropbox server.

Introduction to Dropbox (Wikipedia)

Dropbox is a file hosting service operated by the American company Dropbox, Inc., headquartered in San Francisco, California, that offers cloud storage, file synchronization, personal cloud, and client software.

Dropbox Concept

Concept

Dropbox brings files together in one central place by creating a special folder on the user's computer. The contents of these folders are synchronized to Dropbox's servers and to other computers and devices where the user has installed Dropbox, keeping the same files up-to-date on all devices. Dropbox uses a freemium business model, where users are offered a free account with a set storage size, with paid subscriptions available that offer more capacity and additional features. Dropbox Basic users are given two gigabytes of free storage space. Dropbox Plus users are given two terabytes of storage space, as well as additional features, including advanced sharing controls, remote wipe, and an optional Extended Version History add-on.

Dropbox Platforms

Dropbox has computer apps for Microsoft Windows, Apple macOS, and Linux computers,and mobile apps for iOS, Android, and Windows Phone smartphones and tablets. It also offers a website interface. As part of its partnership with Microsoft, Dropbox announced a universal Windows 10 app in January 2016.

Dropbox Apps

In March 2013, the company acquired Mailbox, a popular email app, and in April 2014, the company introduced Dropbox Carousel, a photo and video gallery app. Both Mailbox and Carousel were shut down in December 2015, with key features from both apps implemented into the regular Dropbox service. In October 2015, it officially announced Dropbox Paper, its collaborative document editor, in a reported effort to expand its operations towards businesses. As of March 2016, Dropbox has 500 million users.

Dropbox's apps offer an automatic photo uploading feature, allowing users to automatically upload photos or videos from cameras, tablets, SD cards, or smartphones to a dedicated Camera Uploads folder in their Dropbox. Users are given 500 megabytes of extra space for uploading their first photo, and are given up to 3 gigabytes of extra space if users continue using the method for more photos.

In July 2014, Dropbox introduced streaming sync for its computer apps. Streaming sync was described as a new supercharged synchronization speed for large files that improves the upload or download time by up to 2 times.

Dropbox Tutorial

How to log in to your Dropbox account

There are 3 ways to access your new account: on dropbox.com, from the Dropbox desktop app, and with the Dropbox mobile app. Get started by logging in to your account on dropbox.com.

How to log in to your Dropbox account on dropbox.com

  1. Open a web browser.
  2. Go to www.dropbox.com.
  3. Select one of the following log in options: Click Continue with Google, Click Continue with Apple, Enter your email address.

Then, install the apps on your computer, tablet, and phone to get the most out of your account.

How to add files and folders to your Dropbox account

Once you've downloaded the mobile and desktop apps, it's time to put Dropbox to work by adding your files, pictures, and videos.

Add a file or folder to your account via dropbox.com

Once you've signed in at dropbox.com, adding files to your account is as easy as dragging and dropping from your computer's file system. Or, just follow these steps to upload a file or folder from your computer:

  1. Log in to dropbox.com.
  2. Click Upload under the search bar at the top.
  3. Click Files or Folder: (1) If you choose Files, select as many files as you like and click Open. (2) If you choose Folder, select a folder and click Upload.

Add files or folders to Dropbox from your computer

Drag and drop files or folders into the Dropbox folder on your desktop. Or, use the Save As menu option in most applications to save files directly to your Dropbox folder.

Files and folders in your Dropbox folder will automatically sync to dropbox.com, and to the Dropbox desktop or mobile apps on any other devices you've connected to your account.

Add a file or folder from your desktop to your Dropbox account

Like with File Explorer (Windows) or Finder (Mac), you can drag and drop into the desktop app:

  1. Drag and drop the file or folder into the Dropbox folder on your hard drive.
  2. Select the Dropbox folder when using the Save As option in most applications.

Like to use Microsoft Office? Dive into the “General” area of “Preferences” and you can make Dropbox a default “Save As” location. Just a little time-saver.

Add a file or folder using the Dropbox mobile app

You can manually upload files, photos and videos to your Dropbox account using the mobile app. The steps you take to manually upload files on your mobile device will vary slightly depending on the type of device you use.

How to share a Dropbox file or folder with someone who doesn't have a Dropbox account

You can share files with anyone, including people without Dropbox accounts, by sharing a link to any file or folder. If you share a link to a file with someone who doesn't have a Dropbox account, they won't need to create a Dropbox account to open and preview that file.

Note: Until you share a file or folder with someone who has a Dropbox account, it will say Only you have access to that file or folder. So if you share a file or folder with someone who doesn't have a Dropbox account, it will still say Only you have access.


You can send a shared link by email, Facebook, X (formerly Twitter), instant message, or social networks wherever you want.

Dropbox Professional, Standard, Advanced, and Enterprise customers can also add passwords and expirations to shared links.


To share a file or folder on dropbox.com:

  1. Log in to dropbox.com.
  2. Hover over the file or folder you'd like to share and click Share.
  3. Click Copy link.

This will copy a link that follows your default link permissions.


To change to a different kind of link:

Follow the steps above.

  1. Click Manage.
  2. Select Link for editing or Link for viewing.
  3. Click Copy link.

Changing the default permissions given by links you create

To change the permissions of individual viewers after they've clicked the link:

  1. Log in to dropbox.com.
  2. Hover over the file or folder you'd like to change permissions for and click the “⋮” (vertical ellipsis).
  3. Select Manage permissions.
  4. Click the People tab.
  5. Select Can view or Can edit from the dropdown next to the viewer's name.

Sharing a file or folder on your computer

  1. Open the Dropbox folder in File Explorer (Windows) or Finder (Mac).
  2. Right-click or command-click the file or folder you'd like to share.
  3. Under Quick Actions, click Share….
  4. From the dropdown, select Can view to give them view-only permissions.

    • If a link hasn't been created, click Create.
    • If a link has been created, then click Copy link.

Dropbox Workings (Wikipedia)

The Dropbox software enables users to drop any file into a designated folder. The file is then automatically uploaded to Dropbox's cloud-based service and made available to any other of the user's computers and devices that also have the Dropbox software installed, keeping the file up-to-date on all systems. When a file in a user's Dropbox folder is changed, Dropbox only uploads the pieces of the file that have been changed, whenever possible.

When a file or folder is deleted, users can recover it within 30 days. For Dropbox Plus users, this recovery time can be extended to one year, by purchasing an Extended Version History add-on.

Dropbox accounts that are not accessed or emails not replied in a year are automatically deleted.

Dropbox also offers a LAN sync feature, where, instead of receiving information and data from the Dropbox servers, computers on the local network can exchange files directly between each other, potentially significantly improving synchronization speeds.

Originally, the Dropbox servers and computer apps were written in Python. In July 2014, Dropbox began migrating its performance-critical backend infrastructure to Go.

In September 2012, Dropbox's website code base was rewritten from JavaScript to CoffeeScript.

Dropbox originally used Amazon's S3 storage system to store user files, but between 2014 and 2016 they gradually moved away from Amazon to use their own hardware, referred to as Magic Pocket, due to Dropbox's description as a place where you keep all your stuff, it doesn 't get lost, and you can always access it. In June 2017, the company announced a major global network expansion, aiming to increase synchronization speeds while cutting costs. The expansion, starting with 14 cities across 7 countries on 3 continents, adds hundreds of gigabits of Internet connectivity with transit providers (regional and global ISPs), and hundreds of new peering partners (where we exchange traffic directly rather than through an ISP).

Dropbox uses SSL transfers for synchronization and stores the data via Advanced Encryption Standard (AES)-256 encryption.

The functionality of Dropbox can be integrated into third-party applications through an application programming interface (API).

Dropbox prevents sharing of copyrighted data, by checking the hash of files shared in public folders or between users against a blacklist of copyrighted material. This only applies to files or folders shared with other users or publicly, and not to files kept in an individual's Dropbox folder that are not shared.

What Linux commands are available on Dropbox?

The Dropbox desktop app can be controlled with the Linux Command Line Interface (CLI). Depending on your Linux distribution and the package you used to perform installation, you may need to download a Python script to control Dropbox from the command line. However, we recommend you first try without downloading the script.

Before running commands, ensure that you're running the available commands while your prompt is located at the root (top level) of the Dropbox folder.

By default, the Dropbox folder is located in ~/Dropbox (or ~/Dropbox (Your team name), if you have a Dropbox Business account). If you moved the Dropbox folder to a different location, be sure you navigate to the root of your actual Dropbox folder before running the commands below.

dropbox Actions on Linux

Getting a link to a file (in ~/Dropbox)

Just run:

dropbox sharelink ~/Dropbox/myfile.html

You'll get something like: https://www.dropbox.com/s/ekqyuqg5e65vbep/myfile.html?dl=0, which enables to retrieve your file through:

wget https://www.dropbox.com/s/ekqyuqg5e65vbep/myfile.html?dl=0

which you're likely to rename to myfile.html.

Consult the status, start and stop dropbox

Run:

dropbox status

To start dropbox:

dropbox start

And to stop dropbox:

dropbox stop
To exclude directories (dropbox)
dropbox exclude [list]
dropbox exclude add [DIRECTORY] [DIRECTORY] ...
dropbox exclude remove [DIRECTORY] [DIRECTORY] ...
  • "list" prints a list of directories currently excluded from syncing.
  • "add" adds one or more directories to the exclusion list, then
  • resynchronizes Dropbox.
  • "remove" removes one or more directories from the exclusion list, then
  • resynchronizes Dropbox.
  • With no arguments, executes "list".

Any specified path must be within ~/Dropbox.

Autostart dropbox
dropbox autostart [y/n]

options:

  • n Dropbox will not start automatically at login
  • y Dropbox will start automatically at login (default)

May only work on current Ubuntu distributions.

To ... dropbox

...

            

Dropbox Headless install via command line

First, download and install the prerequisite packages, for exaple: dropbox_2019.02.14_amd64.deb etc.

The Dropbox daemon works fine on all 32-bit and 64-bit Linux servers. To install it, run the following command in your Linux terminal.

32-bit:

cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86" | tar xzf -

64-bit:

cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -

Next, run the Dropbox daemon from the newly created .dropbox-dist folder.

~/.dropbox-dist/dropboxd

If you’re running Dropbox on your server for the first time, you’ll be asked to copy and paste a link in a working browser to create a new account or add your server to an existing account. Once you do, your Dropbox folder will be created in your home directory. Download this Python script to control Dropbox from the command line. For easy access, put a symlink to the script anywhere in your PATH.