LinuxCommandLibrary

lzcmp

compares two lzip-compressed files byte by byte

TLDR

Compare two lzip-compressed files

$ lzcmp [file1.lz] [file2.lz]
copy
Compare with verbose output
$ lzcmp -l [file1.lz] [file2.lz]
copy
Compare silently
$ lzcmp -s [file1.lz] [file2.lz]
copy

SYNOPSIS

lzcmp [options] file1 file2

DESCRIPTION

lzcmp compares two lzip-compressed files byte by byte. Equivalent to running cmp on the decompressed contents. Returns exit status 0 if identical, 1 if different, 2 on error.

PARAMETERS

-l

Print byte number and values for differences.
-s
Silent mode, exit status only.

SEE ALSO

lzip(1), lzdiff(1), cmp(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community