LinuxCommandLibrary

zforce

Add missing .gz extension to gzip files

TLDR

Add .gz extension

$ zforce [path/to/file1 path/to/file2 ...]
copy

SYNOPSIS

zforce [FILE...]

DESCRIPTION

zforce adds a .gz extension to files compressed with gzip that are missing the extension. It examines files and renames only those that are valid gzip files.
Files that already have the .gz extension or are not gzip-compressed are ignored.

CAVEATS

Only processes gzip files without .gz extension. Does not compress files, only renames them.

SEE ALSO

gzip(1), gunzip(1), zcat(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community