Access Dropbox From Your Terminal

2
621
Access Dropbox From Your Terminal

Today’s article is about how to access Dropbox from the terminal. This article is just to let you guys know about this amazing script (written by andreafabrizi) if in case some of you didn’t know about it already. So, let’s look at it then.

This script is really powerful, and with this script, you can not only access dropbox contents but also upload download, rename, copy files from remote account to another remote account and much more stuff.

Full feature list:

  • Cross platform
  • Support for the official Dropbox API
  • No password required or stored
  • Simple step-by-step configuration wizard
  • Simple and chunked file upload
  • File and recursive directory download
  • File and recursive directory upload
  • Shell wildcard expansion (only for upload)
  • Delete/Move/Rename/Copy/List files
  • Create share link

Now what I’ll do is, I’ll give you a basic guide to start this script to help you get going quickly. The Github link already has a detailed description of the process that you need to know. So here is a basic getting started guide.

First download or clone the Dropbox_Uploader script from the Github, better clone it:

Now, cd into Dropbox_Uploader directory and provide the execution permissions to the script:

If you’re using this script, most probably you’re using it for the first time. So you will be guided through a wizard to configure the Dropbox app and link it with your dropbox account. This configuration files will be stored in ~/.dropbox_uploader.

The configuration wizard is quite simple, just remember that if you choose “App permission“, your uploads will end up on Dropbox under an App/<your_app_name> folder. To have them stored in another folder, such as in /dir/, you’ll need to provide Dropbox-Uploader permission to all Dropbox files.

Syntax for using this script is:

For example:

Here is the sample output of the command:

As you can see, the above command will show you the complete details of your current account. By the way, above details are just an example and the details are not correct :p .

Well, this much should be enough for you to get familiar with this amazing script written by andreafabrizi. For more detailed explanation and more information about it, please refer to the GitHub link here.

That’s all in this article. Stay tuned for more useful stuff and don’t forget to check out other amazing articles in lincoder.com.

2 COMMENTS

  1. Good one Pravin. I’m happy for you. Found this article useful for me as I am also using Linux more nowadays. Keep going.

LEAVE A REPLY