Zillowe FoundationZillowe Documentation

Command Line Interface

Documentation for the zbsdiff and zbspatch CLI tools.

zbsdiff provides two command-line utilities. To build them, enable the cmd feature:

cargo build --release --features cmd

zbsdiff

Used to create a patch between a source file and a target file.

./zbsdiff <SOURCE> <TARGET> <PATCH> [OPTIONS]

Options:

  • -P: Disable parallel searching.
  • -c <CHUNK>: Set parallel chunk size.
  • -z <LEVEL>: Set bzip2 compression level (1-9).
  • -s <SMALL>: Skip small matches (default: 12).
  • -b <BUFFER>: Set delta calculation buffer size.

zbspatch

Used to apply a patch to a source file to recreate the target file.

./zbspatch <SOURCE> <TARGET> <PATCH> [OPTIONS]

Options:

  • -b <BUFFER>: Set write buffer size.

A software organization

2026 © All Rights Reserved.

  • All the content is available under CC BY-SA 4.0, expect where otherwise stated.

Last updated on

On this page