Drp

Drp is a Dropbox command line utility to ease upload, download and sharing of files


Keywords
dropbox, cli, tool
License
GPL-3.0
Install
pip install Drp==0.1.2

Documentation

drp

Drp is a command line tool for Dropbox to ease upload, download of files and get public URLs.

Installation

$ pip install drp

Or alternatively you can do,

$ wget goo.gl/OAgiUG -O drp
$ wget goo.gl/fHhDxS -O handler.py
$ chmod +x drp
$ mv drp handler.py /usr/bin/

Note: This alternate method requires you to install Dropbox Python SDK and Click manually.

Requirements

  • Python (Duh!)
  • pip install dropbox or Dropbox Python SDK
  • pip install click (for CLI interface)

Command Usage

$ drp                                    # show help
$ drp init                               # initialize drp
$ drp [-p path] up file1 file2           # upload files
$ drp [-p path] down file1 file2         # download files
$ drp ls [path]                          # list files
$ drp tree [path]                        # show file structure
$ drp mkdir folder                       # creae a new directory
$ drp rm file                            # delete file or empty directory
$ drp share file                         # copy public URL to clipboard
$ drp info file                          # retrieve metadata for file/folder
$ drp search [-p path] query             # Search for files/folders containing the given string

Todos

  • Extend with parallel uploads and downloads
  • Use compression for file transfer (gzip)
  • Set multi-threaded transfer for large uploads/downloads

License

Drp is released under the GNU GPL License v3.