Ubuntu / Linux news and application reviews.

Dropbox Uploader is a bash script you can use to access your Dropbox files from the command line, without having to install the Dropbox client. The script can upload, download, delete, share or list the files available in your Dropbox account.

The script is useful in many situations, including: automatic backups, access Dropbox from an ARM server / Raspberry Pi, etc. (since Dropbox isn't available for ARM). That's because its only requirement is cURL, so you don't have to install the Dropbox client to quickly upload or download some files from Dropbox.

Dropbox Uploader isn't just for Linux and it should work on Mac OSX, FreeBSD or Windows/Cygwin too. Also, since it uses the official Dropbox API for the authentication process, you don't have to enter your username and password and you can easily revoke its access to your account from the Dropbox website.

The first time your run the script, you must create a Dropbox app and allow the script to access your Dropbox account. Simply run ./dropbox_uploader.sh and follow the steps: create a Dropbox App, enter the application key and secret, select if you want to give the script full Dropbox access or just for the app folder and in the end, you'll have to access a link in your web browser to authorize Dropbox Uploader.

Everything is explained by the Dropbox Uploader script, as you can see in the screenshots below:

Dropbox uploader




To see all the available options, simply run the script:
./dropbox_uploader.sh

Supported Dropbox commands at the time I'm writing this post: upload, download, delete, mkdir, list, share, info and unlink:

Dropbox uploader



Download Dropbox Uploader


You can download Dropbox Uploader from GitHub - here's a direct link to the script.

To make it easier, you can copy/paste the following commands to download Dropbox Uploader in your home folder, install curl and make the script executable (the first command will install curl in Debian-based Linux distributions, required for using Dropbox Uploader and since we're installing it, we'll use it to download the script too):
sudo apt-get install curl
cd && curl -O https://raw.githubusercontent.com/andreafabrizi/Dropbox-Uploader/master/dropbox_uploader.sh
chmod +x dropbox_uploader.sh

Thanks to Adam for the tip!