lzdiff

compares two lzip-compressed files and shows differences

TLDR

Compare two lzip-compressed files
$ lzdiff [file1.lz] [file2.lz]
Show unified diff
$ lzdiff -u [file1.lz] [file2.lz]
Show context diff
$ lzdiff -c [file1.lz] [file2.lz]

SYNOPSIS

lzdiff [options] file1 file2

DESCRIPTION

lzdiff compares two lzip-compressed files and shows differences. Automatically decompresses before comparing. Equivalent to running diff on decompressed contents. Passes options through to diff.

PARAMETERS

-u

Unified diff format.
-c
Context diff format.
All diff options are supported.

INSTALL

sudo dnf install xz
sudo pacman -S xz
sudo apk add xz
sudo zypper install xz
brew install xz
nix profile install nixpkgs#xz

SEE ALSO

lzip(1), lzcmp(1), diff(1)