Skip to content
Snippets Groups Projects
xzdiff.1 1.46 KiB
Newer Older
  • Learn to ignore specific revisions
  • .\"
    .\" Original zdiff.1 for gzip: Jean-loup Gailly
    .\"
    .\" Modifications for XZ Utils: Lasse Collin
    .\"                             Andrew Dudman
    .\"
    .\" License: GNU GPLv2+
    .\"
    
    .TH XZDIFF 1 "2021-01-11" "Tukaani" "XZ Utils"
    
    xzcmp, xzdiff, lzcmp, lzdiff \- compare compressed files
    
    .SH SYNOPSIS
    .B xzcmp
    .RI [ cmp_options "] " file1 " [" file2 ]
    .br
    .B xzdiff
    .RI [ diff_options "] " file1 " [" file2 ]
    .br
    .B lzcmp
    .RI [ cmp_options "] " file1 " [" file2 ]
    .br
    .B lzdiff
    .RI [ diff_options "] " file1 " [" file2 ]
    .SH DESCRIPTION
    
    Lasse Collin's avatar
    Lasse Collin committed
    .B xzcmp
    
    on files compressed with
    .BR xz (1),
    .BR lzma (1),
    .BR gzip (1),
    
    .BR lzop (1),
    
    .BR zstd (1).
    
    All options specified are passed directly to
    
    Lasse Collin's avatar
    Lasse Collin committed
    .BR cmp (1)
    
    Lasse Collin's avatar
    Lasse Collin committed
    .BR diff (1).
    
    If only one file is specified, then the files compared are
    
    (which must have a suffix of a supported compression format) and
    
    from which the compression format suffix has been stripped.
    
    Lasse Collin's avatar
    Lasse Collin committed
    If two files are specified,
    then they are uncompressed if necessary and fed to
    
    Lasse Collin's avatar
    Lasse Collin committed
    .BR cmp (1)
    
    Lasse Collin's avatar
    Lasse Collin committed
    .BR diff (1)
    
    .PP
    The names
    .B lzcmp
    and
    .B lzdiff
    are provided for backward compatibility with LZMA Utils.
    
    .SH "SEE ALSO"
    .BR cmp (1),
    .BR diff (1),
    
    .BR xz (1),
    .BR gzip (1),
    .BR bzip2 (1),
    
    .BR zstd (1),
    
    programs refer to temporary filenames instead of those specified.