\%S-BSDIPA(1)

NAME
\%S-bsdipa [\%v0.9.1] - create or apply binary difference patch

SYNOPSIS
\%s-bsdipa32 — 32-bit limits
\%s-bsdipa64 — 64-bit limits

\%s-bsdipa -h

\%s-bsdipa [-fHJjRZz1-9] diff[/WINDOW] before after patch

\%s-bsdipa [-fHJjZzR] patch after before restored

DESCRIPTION

\%S-bsdipa creates or applies binary difference patches by using Colin Percival's BSDiff algorithm. Two distinct, non-interchangeable variants exist: \%s-bsdipa32 has 32-bit file size limits, \%s-bsdipa64 64-bit; memory footprint and control data size of the former is roughly half that of the latter. (Operational limit may be furtherly constrained by the address size limit of the host.)

When applying a patch the compression method is automatically detected, an explicitly given one must match. When creating a difference patch the diff/WINDOW variant allows to specify the “data inspection window size”, a positive integral value ≤4096, which defaults to 16 and has impacts on processing speed and patch size; its' applicability depends on the data, but values outside the range 4 to 64 hardly seem useful.

  Options
-1 — -9
    Select compression level, with 1 being weakest and 9 being strongest (default unless noted). Silently ignored if unsupported by the method.
-f  Overwrite an existing target file.
-H  Do not read or write file identity header; one of -J | -j | -R | -Z | -z must be used in addition.
-h  Show usage information and exit.
-J  Use LZMA2 compression (default: -8). This is an optional feature.
-j  Use bzip2 compression. This is an optional feature.
-R  Uncompressed patch format without checksum (for testing).
-Z  Use ZSTD compression (default: -8). This is an optional feature.
-z  Use ZLIB compression (default).

AUTHORS
Steffen Nurpmeso <steffen@sdaoden.eu>.