znew

Recompress files from .Z to gzip format. More information: https://manned.org/znew.

znew path/to/file1.Z

znew -v path/to/file1.Z path/to/file2.Z ...

znew -9 path/to/file1.Z

znew -K path/to/file1.Z