znew
Recompress files from .Z to .gz format. More information: <https://manned.org/znew>.
Install
- All systems
-
curl cmd.cat/znew.sh
- Debian
-
apt-get install gzip
- Ubuntu
-
apt-get install gzip
- Alpine
-
apk add gzip
- Arch Linux
-
pacman -S gzip
- Kali Linux
-
apt-get install gzip
- CentOS
-
yum install gzip
- Fedora
-
dnf install gzip
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install gzip
- OS X
-
brew install gzip
- Raspbian
-
apt-get install gzip
- Dockerfile
- dockerfile.run/znew
- Docker
-
docker run cmd.cat/znew znew
powered by Commando
Recompress files from .Z to .gz format. More information: <https://manned.org/znew>.
-
Recompress a file from `.Z` to `.gz` format:
znew path/to/file1.Z
-
Recompress multiple files and display the achieved size reduction % per file:
znew -v path/to/file1.Z path/to/file2.Z path/to/file3.Z
-
Recompress a file using the slowest compression method (for optimal compression):
znew -9 path/to/file1.Z
-
Recompress a file, [K]eeping the `.Z` file if it is smaller than the `.gz` file:
znew -K path/to/file1.Z
© tl;dr; authors and contributors