This commit is contained in:
2025-10-17 13:11:06 +03:00
parent e5f238a126
commit 2bbcca5253

29
README.md Normal file
View File

@@ -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 <FILENAME> --old <OLD> --new <NEW>
Options:
-f, --filename <FILENAME>
-c, --compress-level <COMPRESS_LEVEL> [default: 11]
-o, --old <OLD>
-n, --new <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 <FILENAME> --dest-dir <DEST_DIR>
Options:
-f, --filename <FILENAME>
-d, --dest-dir <DEST_DIR>
-h, --hash-check
-h, --help Print help
```