tldr/pages/common/zdiff.md

13 lines
282 B
Markdown
Raw Normal View History

2022-10-03 15:05:06 +01:00
# zdiff
> Invoke `diff` on gzipped files.
> 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 gzipped archive with the same name:
`zdiff {{path/to/file}}`