mirror of https://github.com/CrimsonTome/tldr.git
753 B
753 B
xzdiff
Invokes
diff
on files compressed withxz
,lzma
,gzip
,bzip2
,lzop
, orzstd
. All options specified are passed directly todiff
. More information: https://manned.org/xzdiff.
- Compare files:
xzdiff {{path/to/file1}} {{path/to/file2}}
- Compare files, showing the differences side by side:
xzdiff --side-by-side {{path/to/file1}} {{path/to/file2}}
- Compare files and report only that they differ (no details on what is different):
xzdiff --brief {{path/to/file1}} {{path/to/file2}}
- Compare files and report when the files are the same:
xzdiff --report-identical-files {{path/to/file1}} {{path/to/file2}}
- Compare files using paginated results:
xzdiff --paginate {{path/to/file1}} {{path/to/file2}}