1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/zdiff.md

13 lines
283 B
Markdown
Raw Normal View History

2022-10-03 16:05:06 +02:00
# zdiff
> Invoke `diff` on `gzip` archives.
2022-10-03 16:05:06 +02:00
> 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:
2022-10-03 16:05:06 +02:00
`zdiff {{path/to/file}}`