Access to Dropbox from the Linux terminal and through the app

Dropbox logo

Until not long ago, the application for dropbox It was only available for Windows, Mac OS X and Anrdoid, having to be content with the web version of the cloud storage service. But now there are already .deb and .rpm packages for 32-bit and 64-bit Linux distributions. There is also a tarball with the source code to compile and install it on any Linux distribution. If you want to install the Dropbox application to use it from Linux, you can access the download area of ​​the official website and follow the steps.

However, there is another option to access Dropbox from a Linux distribution and that is through the console. If we want to use the cloud storage service and we do not want to install the official or unofficial Dropbox graphic clients, this will be the best way to do it. There is a command line-based client (CLI) that is written in the language of scripting and it can be used in bash.

To use it, we will download the script and make it executable by typing the following:

chmod +x

To access, we simply use the command that executes the script:


Then we will and we create a new account. To do this, click on Create App and fill in the requested data. In App Name we will put the name that we want to give to our application, for example “db_up”. In Description we write you a short description of the purpose of the app. In Access if we want the App to only have access to a folder (App folder), or to all (Full). Finally we press the Create button and we will have the new account ready. Take note of the App key, App secret and Access type, as this is what the script will ask us for. Keep in mind that in the script, when it asks for the type of access (Access), you must put an A if you have chosen the App folder or an F if it is Full.

Now it gives us an address that we must enter in the browser that asks us for the data of our Dropbox account to authorize the application. Once done, press ENTER in the terminal and the script will be configured. If we go to the / home / user directory we will see that a hidden file called .dropbox_uploader has been created with the data entered.

As for the use, it is simple, we write in the terminal the line to execute the script followed by the command we need (upload, download, delete, list, info, unlink, ...) together with the parameters:

./ comando [parámetros]

 Let's see some examples:

./ download Canciones/Romáticas/13-Princesa.mp3
./ upload /home/usuario/cuentas.txt
./ delete Fotos/Madrid/2008
./ list Recetas
./ info
./ unlink

 For more information you can read the README file that comes with the script that you have downloaded. I hope it will help you.

More information - Copy: new cloud storage service available for Linux

The content of the article adheres to our principles of editorial ethics. To report an error click here.

Be the first to comment

Leave a Comment

Your email address will not be published. Required fields are marked with *



  1. Responsible for the data: AB Internet Networks 2008 SL
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.