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>.
Install
- All systems
-
curl cmd.cat/xzdiff.sh
- Debian
-
apt-get install xz-utils
- Ubuntu
-
apt-get install xz-utils
- Alpine
-
apk add xz
- Arch Linux
-
pacman -S xz
- 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
- Dockerfile
- dockerfile.run/xzdiff
- Docker
-
docker run cmd.cat/xzdiff xzdiff
powered by Commando
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>.
-
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
© tl;dr; authors and contributors