Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Thursday, June 13, 2019
 
 

xzdiff (1)

Name

xzdiff - compare compressed files

Synopsis

xzcmp [cmp_options] file1 [file2]
xzdiff [diff_options] file1 [file2]
lzcmp [cmp_options] file1 [file2]
lzdiff [diff_options] file1 [file2]

Description

XZDIFF(1)                          XZ Utils                          XZDIFF(1)



NAME
       xzcmp, xzdiff, lzcmp, lzdiff - compare compressed files

SYNOPSIS
       xzcmp [cmp_options] file1 [file2]
       xzdiff [diff_options] file1 [file2]
       lzcmp [cmp_options] file1 [file2]
       lzdiff [diff_options] file1 [file2]

DESCRIPTION
       xzcmp  and  xzdiff  invoke  cmp(1)  or diff(1) on files compressed with
       xz(1), lzma(1), gzip(1), bzip2(1), or lzop(1).  All  options  specified
       are  passed  directly to cmp(1) or diff(1).  If only one file is speci-
       fied, then the files compared are file1 (which must have a suffix of  a
       supported compression format) and file1 from which the compression for-
       mat suffix has been stripped.  If two files are  specified,  then  they
       are  uncompressed  if necessary and fed to cmp(1) or diff(1).  The exit
       status from cmp(1) or diff(1) is preserved.

       The names lzcmp and lzdiff are provided for backward compatibility with
       LZMA Utils.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | compress/xz      |
       +---------------+------------------+
       |Stability      | Uncommitted      |
       +---------------+------------------+
SEE ALSO
       cmp(1), diff(1), xz(1), gzip(1), bzip2(1), lzop(1), zdiff(1)

BUGS
       Messages  from  the cmp(1) or diff(1) programs refer to temporary file-
       names instead of those specified.



NOTES
       This    software    was    built    from    source     available     at
       https://github.com/oracle/solaris-userland.    The  original  community
       source was downloaded from  https://tukaani.org/xz/xz-5.2.3.tar.gz

       Further information about this software can be found on the open source
       community website at https://tukaani.org/xz/.



Tukaani                           2011-03-19                         XZDIFF(1)