shadiakiki1986 / dbxcli-extras

dbxcli utilities: sync, recursive get

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dbxcli-extras

dbxcli utilities:

Related:

Install

First, install dbxcli

Then install this package:

pip3 install --user git+https://github.com/shadiakiki1986/dbxcli-extras.git@v0.0.8

Usage

# 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

License

WTFPL. Check LICENSE

Dev notes

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

About

dbxcli utilities: sync, recursive get

License:Do What The F*ck You Want To Public License


Languages

Language:Python 100.0%