dbxcli utilities:
- sync (local to remote): dropbox/dbxcli#53
- recursive get: dropbox/dbxcli#60
Related:
First, install dbxcli
Then install this package:
pip3 install --user git+https://github.com/shadiakiki1986/dbxcli-extras.git@v0.0.8
# syncronize a local directory with a remote directory in dropbox
dbxcli_extras sync [--verbosity={0,1,2}] [--start-from=<path>] <localdir> <dbxdir>
# recursive get
dbxcli_extras getr [--verbosity={0,1,2}] [--verify] <dbxdir> <localdir>
For examples, see this jupyter notebook
WTFPL. Check LICENSE
pip3 install pew
pew new dbxcli_extras
pip3 install -e .
# Test that sync should check hash
mkdir d1
date > d1/f1
python3 -m dbxcli_extras.cli sync d1 d1
date > d1/f1
python3 -m dbxcli_extras.cli sync d1 d1
dbxcli rm d1