HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

zdiff — Invoke `diff` on `gzip` archives. More information: <https://manned.org/zdiff>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandinvokegzipclidiffarchivesmorezdiff

Problem

How to use the zdiff command: Invoke diff on gzip archives. More information: <https://manned.org/zdiff>.

Solution

zdiff — Invoke diff on gzip archives. More information: <https://manned.org/zdiff>.

Compare two files, uncompressing them if necessary:
zdiff {{path/to/file1.gz}} {{path/to/file2.gz}}


Compare a file to a gzip archive with the same name:
zdiff {{path/to/file}}

Code Snippets

Compare two files, uncompressing them if necessary

zdiff {{path/to/file1.gz}} {{path/to/file2.gz}}

Compare a file to a `gzip` archive with the same name

zdiff {{path/to/file}}

Context

tldr-pages: common/zdiff

Revisions (0)

No revisions yet.