2022-10-02 17:09:22 +01:00
|
|
|
# znew
|
|
|
|
|
2024-03-14 05:01:06 +00:00
|
|
|
> Recompress files from `.Z` to gzip format.
|
2022-10-02 17:09:22 +01:00
|
|
|
> More information: <https://manned.org/znew>.
|
|
|
|
|
2024-03-14 05:01:06 +00:00
|
|
|
- Recompress a file from `.Z` to gzip format:
|
2022-10-02 17:09:22 +01:00
|
|
|
|
|
|
|
`znew {{path/to/file1.Z}}`
|
|
|
|
|
|
|
|
- Recompress multiple files and display the achieved size reduction % per file:
|
|
|
|
|
2024-01-31 03:55:19 +00:00
|
|
|
`znew -v {{path/to/file1.Z path/to/file2.Z ...}}`
|
2022-10-02 17:09:22 +01:00
|
|
|
|
|
|
|
- Recompress a file using the slowest compression method (for optimal compression):
|
|
|
|
|
|
|
|
`znew -9 {{path/to/file1.Z}}`
|
|
|
|
|
2024-03-14 05:01:06 +00:00
|
|
|
- Recompress a file, [K]eeping the `.Z` file if it is smaller than the gzip file:
|
2022-10-02 17:09:22 +01:00
|
|
|
|
|
|
|
`znew -K {{path/to/file1.Z}}`
|