LinuxCommandLibrary

lzdiff

compares two lzip-compressed files and shows differences

TLDR

Compare two lzip-compressed files

$ lzdiff [file1.lz] [file2.lz]
copy
Show unified diff
$ lzdiff -u [file1.lz] [file2.lz]
copy
Show context diff
$ lzdiff -c [file1.lz] [file2.lz]
copy

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.

SEE ALSO

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

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community