znew: add page (#8637)

pull/1/head
Juri 2022-10-02 18:09:22 +02:00 committed by GitHub
parent 5125e0a838
commit 8f89fb49d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

20
pages/common/znew.md Normal file
View File

@ -0,0 +1,20 @@
# 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}} {{path/to/file3.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}}`