tbenz9 / siasync

miniscule utility to sync a folder with Sia
MIT License
67 stars 10 forks source link

* ability to sync based on file size #5

Closed opendba closed 5 years ago

opendba commented 5 years ago

In my setup, I need to sync backups from backup sshfuse mount point to sia. Sync should be two way, i.e. it should delete files that are removed from backup location. All files are quite large so calculation of sha256 checksum very long time (it should download each file from ssh). When I use rsync to sync backups between hosts, I normally rely on --size-only option to exclude checksum calculation.

With this PR I have added following changes to the way siasync can be operated, to support my workflow:

Hope you might find this useful as well.