A Python-based Dropbox app that synchronizes media for onsite installations to automatically refresh content.
- Python 3
- modules
- dotenv (
pip install python-dotenv
) - dropbox SDK (
pip install dropbox
) - six (
pip install six
)
- dotenv (
- Install the Dropbox Python SDK
- Copy
sample.env
to.env
and update the relevant variablesTOKEN
must be the OAuth token generated at https://www.dropbox.com/developers/apps. It is strongly recommended that you use an appfolder, not full Dropbox access.rootdir
can be changed for synchronizing to a custom folder
- Test success with
python ./dbx-distributor.py