Dropbox Uploader is a BASH script which can be used to upload, download, list or delete files from Dropbox. The good thing about it is that it doesn’t require you to enter your Dropbox’s username and password. It makes use of the Dropbox API to connect to your Dropbox account so you can transfer your files without worrying about the leak of your password.

Installation

There is only two things that are required for Dropbox Uploader to work: Bash (obviously) and cURL. Bash is included in almost every Linux distro, unless you removed it manually. You will need to install cURL if it is not currently intalled in your system. In Ubuntu-based distro: To install Dropbox Uploader, first grab the script from its Github site: Then move it to the “bin” folder: To get started, simply use the command: For the first run, it will show you an App name and prompt you to create a Dropbox app with this app name.

Go to Dropbox Developer site and create an app.

Here are a few settings that you should set for your app:

Type of app: Dropbox API app Type of data: Files and datastores Type of files: All file types

For the app limitation, you can set it to access only files it creates, or all the files in Dropbox. Back in the terminal, enter the App Key and secret and visit the Dropbox authorization link to grant Dropbox Uploader permission to access your Dropbox account. Once you linked up Dropbox Uploader to your Dropbox account, you will be able to manage your Dropbox in the terminal.

Usage

The usage is pretty simple. There are 10 commands that you can use with Dropbox Uploader:

upload download delete move copy mkdir list share info unlink

To upload a file/folder, use the syntax: If the “filepath/in/dropbox” is omitted, the file(s) will be uploaded to the topmost level of your Dropbox account. To download a file/folder, To list down all the files in a folder in your Dropbox account, To grab the public link for a particular file in Dropbox,

Conclusion

Dropbox Uploader provides a good way for you to access and manage your Dropbox account directly from the terminal. It is particularly useful for web administrators to use in their server. Coupled with a simple backup script and cron job, you can easily automate server backup to Dropbox.