---
name: "zforce"
section: "1"
platform: "linux"
package: "gzip"
version: "1.15-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux", "freebsd", "openbsd"]
url: "https://new.carta.tech/zforce"
---

# zforce(1)

force a '.gz' extension on all gzip files

## NAME

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

## SYNOPSIS

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

## 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

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