A bidirectional sync tool using rclone and implemented in shell. The sync algorithms reference from cjnaz/rclonesync-V2. which is a good choice in Python.
- bidirectional sync
bash
rclone
$ git clone https://github.com/ishbguy/rclone-sync
$ cd rclone-sync
$ export PATH="$PATH:$(pwd)/bin"
or
$ curl -fLo /path/to/rclone-sync.sh \
https://raw.githubusercontent.com/ishbguy/rclone-sync/master/bin/rclone-sync.sh
$ export PATH="$PATH:/path/to"
There is no configuration for rclone-sync, but you need to configure rclone if
you want to use your cloud service. For detail rclone configuration, you can
type man rclone
in a shell or go to rclone homepage.
Simply run:
rclone-sync.sh path1 path2
Just looking what will happen (dry run):
rclone-sync.sh -d path1 path2
For help:
rclone-sync.sh -h
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Released under the terms of MIT License.