Forrest logo
back to the znew tool

znew:tldr:e53b7

znew: Recompress a file using the slowest compression method (for optimal compression).
$ znew -9 ${filename1-Z}
try on your machine

The command "znew -9 ${filename1-Z}" is used to compress files using the "znew" tool with the highest compression level, which is "9".

Here's a breakdown of the command:

  • "znew": This is the actual command used to compress files using the "znew" tool. "znew" is typically part of the "gzip" package.
  • "-9": This flag or option specifies the compression level to be used. In this case, it is set to the highest level, which means the file will be compressed with the maximum amount of compression.
  • "${filename1-Z}": This is a variable that represents the filename. The "-Z" after the variable name specifies a default value of "Z" if the variable is empty. It means that if the variable "filename1" is not defined or is empty, the default value "Z" will be used.

Overall, this command compresses the file specified by the "filename1" variable (or "Z" if the variable is empty) using the "znew" tool with the highest compression level.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the znew tool