Skip to content

Instantly share code, notes, and snippets.

@tbenz9

tbenz9/blog.md Secret

Created August 20, 2019 20:08
Show Gist options
  • Save tbenz9/eb2f719208eff23011e8ee8c28b9f14e to your computer and use it in GitHub Desktop.
Save tbenz9/eb2f719208eff23011e8ee8c28b9f14e to your computer and use it in GitHub Desktop.

Siasync Version 1.0.1-beta release

Siasync is a utility that will monitor a folder and synchronize its contents to the Sia network. As new files are created or removed it will keep Sia in sync with the local source folder. Siasync also supports more advanced features like only syncing certain file extensions, or excluding certain file extensions, or archive mode which won’t delete files from Sia even if they are deleted locally. Best of all, it works on Windows, MacOS, and Linux.

Whats new?

The new -sync-only flag allows you to perform a one-time sync of a folder and close Siasync when completed. Previously, Siasync would continue to monitor a folder indefinitely for changes. The default behavior is still to monitor a folder for changes, please let me know in the comments below if you'd like to see this default behavior changed.

When Siasync runs it performs a checksum of each file it's monitoring, this checksumming can take a long time and consume a lot of CPU power if you have many or large files. Now you can skip the checksum and tell Siasync to compare filenames and filesizes only. Use the -size-only flag to compare files base on filename and file size instead of checksum value.

The -dry-run flag was added. This allows you to view what Siasync would do, without actually making any changes to Sia or incurring any costs associated with uploading files.

The -data-pieces and -parity-pieces flags were added allowing you to manually specify the reed-solomon breakdown of files and modify the file redundancy on the Sia network. This feature was technically released with v1.0.0-beta.2 but was not documented until now.

The -debug flag now gives much better debug messages that can hopefully help you troubleshoot issues or generate better support tickets.

Thanks to the GitHub contributors!

The vast majority of these changes and updates are the hard work of GitHub user opendba who implemented them without payment, recognition, or being asked. This release would not have been possible without you!

Also, special thanks to Sia team member Luke Champine who implemented the data-pieces and parity-pieces flags in response to a community request for the feature.

Feature requests, suggestions, and comments are welcome! Please reach out to me if you'd like to get involved or have any ideas on how to make Siasync more useful.

Like what you see? Want to see more?

Contribute by opening a ticket or pull request, letting me know in the comments section below, on reddit at /u/tbenz9 or mentioning me in the Sia Discord at @tbenz9#2796.

Beer money — Siacoin: f63f6c5663efd3dcee50eb28ba520661b1cd68c3fe3e09bb16355d0c11523eebef454689d8cf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment