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.
cmp
xz
lzma
gzip
bzip2
lzop
zstd
xzcmp path/to/file1 path/to/file2