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>.

Install

All systems
curl cmd.cat/xzcmp.sh
Debian Debian
apt-get install xz-utils
Ubuntu
apt-get install xz-utils
Alpine
apk add xz
Arch Arch Linux
pacman -S xz
image/svg+xml Kali Linux
apt-get install xz-utils
CentOS
yum install xz
Fedora
dnf install xz
Windows (WSL2)
sudo apt-get update sudo apt-get install xz-utils
OS X
brew install xz
Raspbian
apt-get install xz-utils
Docker
docker run cmd.cat/xzcmp xzcmp powered by Commando

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

© tl;dr; authors and contributors