xzdiff

Invokes diff on files compressed with xz, lzma, gzip, bzip2, lzop, or zstd. All options specified are passed directly to diff. More information: https://manned.org/xzdiff.

xzdiff path/to/file1 path/to/file2

xzdiff --side-by-side path/to/file1 path/to/file2

xzdiff --brief path/to/file1 path/to/file2

xzdiff --report-identical-files path/to/file1 path/to/file2

xzdiff --paginate path/to/file1 path/to/file2