A python script for uploading files to your dropbox account.
This script is based on a python sdk example.
- Python 2.7
- Dropbox Python SDK
A token must be provided as environment variable:
$ DROPBOX_TOKEN='my_token'
You can get your personal token from here.
An optional remote path can be set up defining DROPBOX_PATH
env variable.
$ python dropbox-uploader.py my-file.txt