Scriptable Dropbox CLI for files, shared links, teams, and automation
Use dbxcli to work with Dropbox files, folders, shared links, and team workflows from a terminal. It supports text output for humans, structured JSON output for automation, pipe-friendly transfers, refreshable OAuth login, and direct-token automation for scripts, CI jobs, and agent-style workflows.
--as-member string Member ID to perform action as
-h, --help help for dbxcli
--output string Output format: text, json (default "text")
--timeout duration Timeout for Dropbox network operations (0 disables; examples: 30s, 2m, 1h)
-v, --verbose Enable verbose logging
- Structured JSON output: no
- JSON help manifest: yes
- Manifest version:
1 - Auth modes: none
- Dropbox scopes: none
- Flag metadata:
--output(values:json,text)
- dbxcli account - Display account information
- dbxcli completion - Generate the autocompletion script for the specified shell
- dbxcli cp - Copy a file or folder to a different location in the user's Dropbox. If the source path is a folder all its contents will be copied.
- dbxcli du - Display usage information
- dbxcli get - Download a file or folder
- dbxcli login - Log in and save Dropbox credentials
- dbxcli logout - Log out of the current session
- dbxcli ls - List files and folders
- dbxcli mkdir - Create a new directory
- dbxcli mv - Move files
- dbxcli put - Upload files or directories
- dbxcli restore - Restore a file revision
- dbxcli revs - List file revisions
- dbxcli rm - Remove files or folders
- dbxcli search - Search
- dbxcli share - Sharing commands
- dbxcli share-link - Shared link commands
- dbxcli team - Team management commands
- dbxcli version - Print version information