Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

znew(1) [posix man page]

ZNEW(1) 						      General Commands Manual							   ZNEW(1)

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; implies -t. SEE ALSO
gzip(1), zmore(1), zdiff(1), zgrep(1), zforce(1), gzexe(1), compress(1) BUGS
Znew does not maintain the time stamp with the -P option if cpmod(1) is not available and touch(1) does not support the -r option. ZNEW(1)

Check Out this Related Man Page

ZNEW(1) 						      General Commands Manual							   ZNEW(1)

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; implies -t. SEE ALSO
gzip(1), zmore(1), zdiff(1), zgrep(1), zforce(1), gzexe(1), compress(1) BUGS
Znew does not maintain the time stamp with the -P option if cpmod(1) is not available and touch(1) does not support the -r option. ZNEW(1)
Man Page

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

gzipping large (2+ gb) files.

Is it possible? I am trying to do it with gzip 1.2.4 and it comes back saying the file type is too large. Any way to compress massive things? (2 Replies)
Discussion started by: LordJezo
2 Replies

2. Shell Programming and Scripting

gzip the files with particular extension

Is there any way to compress only the files with .xml extension within a folder which in turn has many sub folders? gzip -r9 path/name/*.xml is not working This compression is done in the Windows server using Batch script. (2 Replies)
Discussion started by: Codesearcher
2 Replies

3. Shell Programming and Scripting

From .gz to .7z to save space

Hi all, my log server is completely full with logs. I have used gzip to compress logs, but as i tried, 7z has a better compression, it saves the half size of my server. I want to uncompress .gz files, then compress them to .7z Can you please help me with a script that does this: 1.... (2 Replies)
Discussion started by: arrals_vl
2 Replies

4. UNIX for Dummies Questions & Answers

Moving files..

Selected directories on our system generate alerts when they exceed 60% of the disk space so I have used gzip to make the files smaller on one of the directories in question (AdminServer logs). I want to move these to another directory what is the best way to make this happen? Thanks.. (4 Replies)
Discussion started by: nosuchluck
4 Replies