xzcmp
Invokes cmp on files compressed with xz, lzma, gzip, bzip2, lzop, or zstd.
All options specified are passed directly to cmp.
More information: https://manned.org/xzcmp.
- Compare two specific files:
xzcmp path/to/file1 path/to/file2