1XZDIFF(1)                          XZ Utils                          XZDIFF(1)
2
3
4

NAME

6       xzcmp, xzdiff, lzcmp, lzdiff - compare compressed files
7

SYNOPSIS

9       xzcmp [cmp_options] file1 [file2]
10       xzdiff [diff_options] file1 [file2]
11       lzcmp [cmp_options] file1 [file2]
12       lzdiff [diff_options] file1 [file2]
13

DESCRIPTION

15       xzcmp  and  xzdiff  invoke  cmp(1)  or diff(1) on files compressed with
16       xz(1), lzma(1), gzip(1), bzip2(1), lzop(1), or  zstd(1).   All  options
17       specified  are  passed directly to cmp(1) or diff(1).  If only one file
18       is specified, then the files compared are file1 (which must have a suf‐
19       fix  of  a  supported compression format) and file1 from which the com‐
20       pression format suffix has been stripped.  If two files are  specified,
21       then  they  are uncompressed if necessary and fed to cmp(1) or diff(1).
22       The exit status from cmp(1) or diff(1) is preserved unless a decompres‐
23       sion error occurs; then exit status is 2.
24
25       The names lzcmp and lzdiff are provided for backward compatibility with
26       LZMA Utils.
27

SEE ALSO

29       cmp(1), diff(1), xz(1), gzip(1), bzip2(1), lzop(1), zstd(1), zdiff(1)
30

BUGS

32       Messages from the cmp(1) or diff(1) programs refer to  temporary  file‐
33       names instead of those specified.
34
35
36
37Tukaani                           2021-06-04                         XZDIFF(1)
Impressum