---
name: "zforce"
section: "1"
platform: "freebsd"
package: "base"
version: "16.0-CURRENT-20261027-61c70dc16a79"
release: "FreeBSD 16.0-CURRENT (2026-10-27)"
platforms: ["linux", "freebsd", "openbsd"]
url: "https://new.carta.tech/zforce"
---

# zforce(1)

force gzip files to have a .gz suffix

## NAME

**zforce** – force gzip files to have a .gz suffix

## SYNOPSIS

**zforce** *file ...*

## DESCRIPTION

The **zforce** utility renames [gzip(1)](/gzip/1.md) files to have a ‘.gz’ suffix, so that [gzip(1)](/gzip/1.md) will not compress them twice. This can be useful if file names were truncated during a file transfer. Files that have an existing ‘.gz’, ‘-gz’, ‘\_gz’, ‘.tgz’ or ‘.taz’ suffix, or that have not been compressed by [gzip(1)](/gzip/1.md), are ignored.

## SEE ALSO

[gzip(1)](/gzip/1.md)

## CAVEATS

**zforce** overwrites existing files without warning.
