Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

30
xzdiff Normal file
View File

@@ -0,0 +1,30 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# xzdiff
> Invokes `diff` on files compressed with `xz`, `lzma`, `gzip`, `bzip2`, `lzop`, or `zstd`.
> All options specified are passed directly to `diff`.
> More information: <https://manned.org/xzdiff>.
- Compare two files:
`xzdiff {{path/to/file1}} {{path/to/file2}}`
- Compare two files, showing the differences side by side:
`xzdiff --side-by-side {{path/to/file1}} {{path/to/file2}}`
- Compare two files and report only that they differ (no details on what is different):
`xzdiff --brief {{path/to/file1}} {{path/to/file2}}`
- Compare two files and report when the files are the same:
`xzdiff --report-identical-files {{path/to/file1}} {{path/to/file2}}`
- Compare two files using paginated results:
`xzdiff --paginate {{path/to/file1}} {{path/to/file2}}`