Hi Kailash,
If you are doing the compression from with a Perl script, use Archive::Tar
(which uses Compress::Zlib in the background). After installing the modules,
use the following commands to see their documentation (which will give you the
basic syntax):
perldoc Archive::Tar
perldoc Compress::Zlib
Cheers,
Kevin
On Wed, May 09, 2001 at 12:23:16PM -0400, [EMAIL PROTECTED]
([EMAIL PROTECTED]) spew-ed forth:
>
>
>
> Hello,
> Can somebody advice on whether to use UNIX gzip or the perl Compress::Zlib
> for compressing a tar file. If it is going to be Compress::Zlib, I would
> appreciate if somebody can give me a basic syntax.
>
> Thx
> Kailash
>
>
--
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Never laugh at a live dragon.
-- The Hobbit