Linux command
dbx 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Authenticate with Dropbox
dbx auth login
List files
dbx ls [/path/to/folder]
Upload a file
dbx put [local_file.txt] [/remote/path/file.txt]
Download a file
dbx get [/remote/path/file.txt] [local_file.txt]
Create a shared link
dbx share [/path/to/file]
Show account information
dbx account info
说明
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.
参数
- 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.
FAQ
What is the dbx command used for?
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.
How do I run a basic dbx example?
Run `dbx auth login` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does auth login do in dbx?
Authenticate with Dropbox account.