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

25
znew Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# znew
> Recompress files from `.Z` to `.gz` format.
> More information: <https://manned.org/znew>.
- Recompress a file from `.Z` to `.gz` format:
`znew {{path/to/file1.Z}}`
- Recompress multiple files and display the achieved size reduction % per file:
`znew -v {{path/to/file1.Z path/to/file2.Z ...}}`
- Recompress a file using the slowest compression method (for optimal compression):
`znew -9 {{path/to/file1.Z}}`
- Recompress a file, [K]eeping the `.Z` file if it is smaller than the `.gz` file:
`znew -K {{path/to/file1.Z}}`