tldr/pages/common/zdiff.md

13 lines
283 B
Markdown

# 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}}`