UNIX/LINUX Command – zforce


zforce—Force a .gz extension on all gzip files


zforce [ name … ]


zforce forces a .gz extension on all gzip files so that gzip will not compress them twice. This can be useful for files with names truncated after a file transfer. On systems with a 14-character limitation on filenames, the original name is truncated to make room for the .gz suffix. For example, 12345678901234 is renamed to 12345678901.gz. A filename such as foo.tgz is left intact.

Related Articles