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)
As the title sugests I need to compress files from DOS to Unix.
The files should be in .Z format, as created using 'compress' in an Unix environment.
Ligs (2 Replies)
Is there a way I can check if a file is comppressed or not? (Be it tar/gzip or compress). trying to write a generic housekeeping scrit that will delete files over 6 months old and compress any uncompressed files if less than 6 months old. But not sure if there is a clever way to check except for... (4 Replies)
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)
Could someone please help?
I'm trying to compress all the files in a directory without extension. I know for typical files with extension, the command is something like:
tar -zcvf file.tar.gz *.doc
What is the command for files without extension? Thanks. (4 Replies)
Hi all,
I am having few files which needs to be concted into a single file and then it is compressed and FTPed from the UNIX server to the Windows server.
For the above purpose i am using gzip command to compress the files after concetenation.
And i am FTP ing the compressed file in the... (3 Replies)
I want to compress backup files to tape using compress on our AIX 4.2
- Our TAR does not have compression.
- I do not want to use local storage to compress as most of the filesystems are pretty full.
- the only compressing tool we have is 'compress'
- tapes are 5Gb 8mm
I am trying this... (10 Replies)
Hi all,
I would like to know if an API for compress (.Z) exists in C ?
I want to write a program which process a large number of data files with efficient compression at the end.
Thanks
http://fedora.unix.com/images/misc/progress.gif (4 Replies)
I am looking for an alternate solution other than gzip or bzip2 to compress files that are 3 to 4 GB each and will be hundreds per day. Aside from increasing storage anybody found a good tool? (5 Replies)
Good morning,
I have a file that is 200 MB and I want to compress it to the fullest, which is the best method or command to compress files in aix?
Thank you very much and best regards. (8 Replies)
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)
Hi Team,.
I am writing a script find the files which is not .gz format, split it into files which are 50000 line entries per file(using split -l 50000) then compress the smaller files using gzip and delete the original/big file.
After splitting it is creating the files in its own naming... (4 Replies)
Hi,
I used gzip command to compress a huge tar file. But I saw that compression % was more than 100%.
It might have inflated instead , probably because tar file is already packed properly.
So I thought of unzippping it. Now after unzip I expected the tar file to be of less size than... (12 Replies)
Hi,
When we want to compress a file which is of huge size then what command is best for us.Kindly suggest on this.
1.Tar command or
2.gzip command
OS -- Linux 2.6
Regards,
Maddy (6 Replies)