tbenz9 / siasync

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

Save checksums on disk for next start possible? #4

Closed sheggy012 closed 5 years ago

sheggy012 commented 5 years ago

Hey, it's me again. Could you adapt the tool so that it saves the checksums and continues at the next start? I try to keep a 1TB folder synchronous. But every time I start the tool I have to wait for days until the checksums are formed, at the next PC restart the whole process starts all over again.

tbenz9 commented 5 years ago

I'm not crazy about storing the checksums on disk, but we just added a feature that will compare filenames, and file-sizes instead of checksuming each file. If the filename and file-size is identical it considers it the same file, no checksums are performed. Would that be an acceptable solution to your use case?

sheggy012 commented 5 years ago

That's even better. Thank you very much for the great work.

tbenz9 commented 5 years ago

I haven't created an official release yet, but you're welcome to build from source to get the new features today. Or I'd be happy to send you over a Binary to test with if you'd prefer that.