LinuxCommandLibrary

dbx

command-line interface for Dropbox cloud storage

TLDR

Authenticate with Dropbox

$ dbx auth login
copy
List files in Dropbox folder
$ dbx ls [/path/to/folder]
copy
Upload a file to Dropbox
$ dbx put [local_file.txt] [/remote/path/file.txt]
copy
Download a file from Dropbox
$ dbx get [/remote/path/file.txt] [local_file.txt]
copy
Create a shared link
$ dbx share [/path/to/file]
copy
Show account information
$ dbx account info
copy

SYNOPSIS

dbx command [options] [arguments]

DESCRIPTION

dbx is a command-line interface for Dropbox, allowing file operations without the graphical client. It provides functionality for uploading, downloading, listing, and sharing files stored in Dropbox cloud storage.
The tool requires OAuth authentication which is handled through the auth command. Once authenticated, it maintains credentials for subsequent operations. It supports both personal and business Dropbox accounts.
dbx is useful for scripting backup operations, automating file transfers, and accessing Dropbox on headless servers or systems without a graphical environment.

PARAMETERS

COMMAND

Operation to perform: auth, ls, get, put, share, etc.
auth login
Authenticate with Dropbox account.
ls PATH
List directory contents.
get REMOTE LOCAL
Download file from Dropbox.
put LOCAL REMOTE
Upload file to Dropbox.
share PATH
Create shared link for file.
account info
Display account details.
--help
Display help information.

CAVEATS

Requires network connectivity to Dropbox servers. Large file transfers may timeout. API rate limits apply to frequent operations. OAuth tokens may need periodic refresh.

HISTORY

dbx is a community-developed command-line tool for Dropbox, separate from the official Dropbox CLI. Various implementations exist with similar functionality, providing command-line access to Dropbox's API for users who prefer terminal workflows.

SEE ALSO

rclone(1), curl(1), rsync(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community