diff --git a/README.md b/README.md new file mode 100644 index 0000000..9f83886 --- /dev/null +++ b/README.md @@ -0,0 +1,29 @@ +# ZsDiff + +A partial update program. Use [Zstandrard](https://github.com/facebook/zstd). + +`zsdiff` products a [filename].zdiff file. It compares ALL file hashes from old with new. + +``` +Usage: zsdiff [OPTIONS] --filename --old --new + +Options: + -f, --filename + -c, --compress-level [default: 11] + -o, --old + -n, --new + -h, --help Print help +``` + +`zspatch` extract files from [filename].zdiff to [dest-dir]. If some file was deleted between old and new, `zspatch` +also delete it from [dest-dir] + +``` +Usage: zspatch [OPTIONS] --filename --dest-dir + +Options: + -f, --filename + -d, --dest-dir + -h, --hash-check + -h, --help Print help +``` \ No newline at end of file