Dropbox CLI built on Python SDK
Pass access token as environment variable:
DROPBOX_TOKEN=abc123 ./pydbxcli.py status
Pass access token as CLI argument:
./pydbxcli.py --dropbox_token=abc123 status
Recursively list all files in Dropbox:
./pydbxcli.py ls -r /
Recursively download specific Dropbox directory to local directory
./pydbxcli.py get -r /mystuff/dropbox/dir ./localdir
docker build -t ubergarm/pydbxcli .
docker run --rm \
-it \
-v `pwd`:/localdir \
-e DROPBOX_TOKEN \
ubergarm/pydbxcli get /mystuff /localdir
flake8 --max-line-length=120 pydbxcli.py
- Authenticate with Dropbox
- Print user account status
- List files
- Download Files
- Upload Files
- Travis CI