zforce

Add missing .gz extension to gzip files

TLDR

Add .gz extension
$ zforce [path/to/file1 path/to/file2 ...]

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.

INSTALL

sudo apt install gzip
sudo dnf install gzip
sudo pacman -S gzip
sudo apk add gzip
sudo zypper install gzip
brew install gzip
nix profile install nixpkgs#gzip

CAVEATS

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

SEE ALSO

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