☰ Menu
Home›Command-line Tools›dropbox-uploader
CLI Open source 1 installs/mo

dropbox-uploader for Mac

dropbox-uploader

Bash script for interacting with Dropbox

dropbox-uploader — overview

Dropbox Uploader

Dropbox Uploader is a BASH script which can be used to upload, download, delete, list files (and more!) from Dropbox, an online file sharing, synchronization and backup service.

It's written in BASH scripting language and only needs cURL.

You can take a look to the GitHub project page.

Why use this script?

Portable: It's written in BASH scripting and only needs cURL (curl is a tool to transfer data from or to a server, available for all operating systems and installed by default in many linux distributions). Secure: It's not required to provide your username/password to this script, because it uses the official Dropbox API v2 for the authentication process.

Please refer to the Wiki for tips and additional information about this project. The Wiki is also the place where you can share your scripts and examples related to Dropbox Uploader.

Features

Cross platform Support for the official Dropbox API v2 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/Share files Create share link Monitor for changes

Getting started

First, clone the repository using git (recommended):

or download the script manually using this command:

Then give the execution permission to the script and run it:

The first time you run dropbox_uploader, you'll be guided through a wizard in order to configure access to your Dropbox. This configuration will be stored in ~/.dropbox_uploader.

Usage

The syntax is quite simple:

Available commands:

upload <LOCAL_FILE/DIR ...> <REMOTE_FILE/DIR> Upload a local file or directory to a remote Dropbox folder. If the file is bigger than 150Mb the file is uploaded using small chunks (default 50Mb); in this case a . (dot) is printed for every chunk successfully uploaded and a (star) if an error occurs (the upload is retried for a maximum of three times). Only if the file is smaller than 150Mb, the standard upload API is used, and if the -p option is specified the default curl progress bar is displayed during the upload process. The local file/dir parameter supports wildcards expansion.

download <REMOTE_FILE/DIR> [LOCAL_FILE/DIR] Download file or directory from Dropbox to a local folder

delete <REMOTE_FILE/DIR> Remove a remote file or directory from Dropbox

move <REMOTE_FILE/DIR> <REMOTE_FILE/DIR> Move or rename a remote file or directory

copy <REMOTE_FILE/DIR> <REMOTE_FILE/DIR> Copy a remote file or directory

mkdir <REMOTE_DIR> Create a remote directory on Dropbox

list [REMOTE_DIR] List the contents of the remote Dropbox folder

monitor [REMOTE_DIR] [TIMEOUT] Monitor the remote Dropbox folder for changes. If timeout is specified, at the first change event the function will return.

share <REMOTE_FILE> Get a public share link for the specified file or directory

Details

用于与 Dropbox 交互的 Bash 脚本

How to install dropbox-uploader

  1. Open Terminal (press ⌘ + Space and type “Terminal”).
  2. If Homebrew is not installed yet, run the command below first.
  3. Run this command:

Latest 10 releases

This project has no GitHub releases yet.

Compared with similar apps

Only public metadata is compared, with no subjective recommendation; see the compare pages for field-by-field comparisons.

Compared with similar apps
AppVersionLicenseArchitecture30-day installs
dropbox-uploader1.0GPL-3.0-or-laterCLI1
format-udf1.8.0GPL-2.0-or-laterCLI0
tengov3.0.0MITCLI0
dhall-bash1.42.2BSD-3-ClauseCLI1

Similar apps: Command-line Tools

Leave a comment

评论表单加载中…