1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-24 01:22:10 +02:00
tldr/pages/common/zdiff.md
2022-10-03 11:05:06 -03:00

12 lines
282 B
Markdown

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