drobo
A Dropbox CLI
Installation
pip install -e .
Configuration
Create a .droborc file in your home directory with your Dropbox app configuration:
[apps.myapp]
app_key = "your_dropbox_app_key_here"
app_secret = "your_dropbox_app_secret_here"
access_token = "your_access_token"
refresh_token = "your_refresh_token"
Usage
drobo <app name> <command> [options]
Commands
ls: List remote target contents (mimics Linux ls command)cp: Copy contents from one location to another (mimics Linux cp command)mv: Move contents from one location to another (mimics Linux mv command)rm: Remove remote files and folders (mimics Linux rm command)
Options
--verbose, -v: Enable verbose output--version: Show version and exit
Examples
# List contents of root directory
drobo myapp ls /
# List with detailed output
drobo myapp ls -l /Documents
# Copy local file to Dropbox
drobo myapp cp local_file.txt /remote_file.txt
# Copy Dropbox file to local
drobo myapp cp /remote_file.txt local_file.txt
# Move file within Dropbox
drobo myapp mv /old_location.txt /new_location.txt
# Move multiple files to a directory
drobo myapp mv //file1.txt //file2.txt //documents/
# Move files using wildcards
drobo myapp mv //subdir/*.pdf //target_dir/
# Move with target directory option
drobo myapp mv -t //documents/ //file1.txt //file2.txt
# Force move (overwrite if destination exists)
drobo myapp mv -f //source.txt //existing_dest.txt
# Move only if source is newer (update)
drobo myapp mv -u //source.txt //dest.txt
# Remove file from Dropbox
drobo myapp rm /unwanted_file.txt
# Remove with force flag (ignore errors)
drobo myapp rm -f /might_not_exist.txt
Development
# Install dependencies
make install
# Run tests
make test
# Run linting
make fmt
# Build package
make build
# Build documentation
make doc
# Create distribution
make dist
# Clean build artifacts
make clean
Metadata
Release files for drobo 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| drobo-1.0.0.tar.gz | 21.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| drobo-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.8 kB
Release files / drobo-1.0.0.tar.gz
| Download URL | drobo-1.0.0.tar.gz |
|---|---|
| Size | 21.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ebced9caa8e684e328f0ec7c417a3586ec3d4fbc249b13bfbbcda0d9f0708bda
|
|
BLAKE2b-256 checksum How to use checksums |
c137260478ef4fe250f7b476000f0165dfb21e7c8ddfb21bdac6038d5330f203
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.2
|
Release files / drobo-1.0.0-py3-none-any.whl
| Download URL | drobo-1.0.0-py3-none-any.whl |
|---|---|
| Size | 15.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
75f46dcba87d88aaf1cd926462d697cecaa4ab2faaf068d012181872de3696cb
|
|
BLAKE2b-256 checksum How to use checksums |
84068ba097343871ddcc35394e82e2a90dab13827caa3cea6f976f5f9f403916
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.2
|