Files
ZsDiff/README.md
2025-10-17 13:13:18 +03:00

987 B

ZsDiff

A partial update program. Use Zstandrard.

zsdiff products a [filename].zdiff file and [filename].zdiff.md5. 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]. Flag --hash-check compare computed hash of [filename].zdiff and hash from [filename].zdiff.md5

Usage: zspatch [OPTIONS] --filename <FILENAME> --dest-dir <DEST_DIR>

Options:
  -f, --filename <FILENAME>  
  -d, --dest-dir <DEST_DIR>  
  -h, --hash-check           
  --help                    Print help