# zdiff > Invoke `diff` on gzipped files. > More information: . - 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}}`