Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Use znew command in Terminal to recompress files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use znew command in Terminal to recompress files
Authored by: forman on Apr 19, '04 08:50:45PM
As posted in an above thread, the command

uncompress -c file.Z | gzip -c > file.gz

will do the same thing as the znew command.

What it omits is that it will perform it twice as fast on a dual-processor machine. Apparently, znew performs the decompression and compression in a serial manner. The use of a pipe ("|"), however, will execute the programs in parallel. Thus on a dual-processor machine, the conversion process will take half the time. Give it a try and see!

Michael.

[ Reply to This | # ]
Use znew command in Terminal to recompress files
Authored by: wgscott on Apr 19, '04 09:35:55PM

You can read the program as it is a shell script, and the -P option does what you suggest.



[ Reply to This | # ]
Use znew command in Terminal to recompress files
Authored by: forman on Apr 20, '04 02:00:56AM

You can tell I'm on a MacOS website.

Your response should have been "RTFM". :)

Michael.

[ Reply to This | # ]