1. Home
  2. Computing & Technology
  3. Linux
Linux / Unix Command: znew
Command Library

NAME

znew - recompress .Z files to .gz files  

SYNOPSIS

znew [ -ftv9PK] [ name.Z ... ]  

DESCRIPTION

Znew recompresses files from .Z (compress) format to .gz (gzip) format. If you want to recompress a file already in gzip format, rename the file to force a .Z extension then apply znew.  

OPTIONS

-f
Force recompression from .Z to .gz format even if a .gz file already exists.
-t
Tests the new files before deleting originals.
-v
Verbose. Display the name and percentage reduction for each file compressed.
-9
Use the slowest compression method (optimal compression).
-P
Use pipes for the conversion to reduce disk space usage.
-K
Keep a .Z file when it is smaller than the .gz file
 

SEE ALSO

gzip(1), zmore(1), zdiff(1), zgrep(1), zforce(1), gzexe(1), compress(1)  

Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

Explore Linux
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Linux

©2009 About.com, a part of The New York Times Company.

All rights reserved.