Public | Automated Build

Last pushed: 5 months ago
Short Description
Dropbox CLI built on Python SDK
Full Description

pydbxcli

Dropbox CLI built on Python SDK

Usage

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 Development

docker build -t ubergarm/pydbxcli .

Docker Runtime

docker run --rm \
           -it \
           -v `pwd`:/localdir \
           -e DROPBOX_TOKEN \
           ubergarm/pydbxcli get /mystuff /localdir

Contributing

flake8 --max-line-length=120 pydbxcli.py

TODO

  • [x] Authenticate with Dropbox
  • [x] Print user account status
  • [x] List files
  • [x] Download Files
  • [ ] Upload Files
  • [ ] Travis CI

References

Docker Pull Command
Owner
ubergarm
Source Repository

Comments (0)