readme
This commit is contained in:
29
README.md
Normal file
29
README.md
Normal 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
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user