ZFORCE(1) General Commands Manual ZFORCE(1)

# [NAME](#NAME)

zforce - force a '.gz' extension on all gzip files

# [SYNOPSIS](#SYNOPSIS)

**zforce** \[ name ... ]

# [DESCRIPTION](#DESCRIPTION)

The **zforce** command 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 char limitation on file names, the original name is truncated to make room for the .gz suffix. For example, 12345678901234 is renamed to 12345678901.gz. A file name such as foo.tgz is left intact.

# [SEE ALSO](#SEE_ALSO)

[gzip(1)](/man/os/gzip/gzip.1), [znew(1)](/man/os/gzip/znew.1), [zmore(1)](/man/os/gzip/zmore.1), [zgrep(1)](/man/os/gzip/zgrep.1), [zdiff(1)](/man/os/gzip/zdiff.1), [gzexe(1)](/man/os/gzip/gzexe.1)

---

Document: zforce(1) from gzip 1.14-r10 (Chainguard OS)
Source: https://git.savannah.gnu.org/git/gzip.git
