Dexter Graphic wrote:

> On Wed, 2002-11-06 at 15:30, Mike O wrote:
> > gunzip filename.gz
> > tar -xzvf filename.tar.gz
> > 
> > couldn't resist.
> 
> The gunzip worked but it deleted the original file.Is there some way to
> stop it from doing this?

gunzip -c < filename.tar.gz > filename.tar

bzip2 has a nifty '-k'/'--keep' flag which means "keep the original
after (de)compressing", but gzip is deficient there.

-- 
Bob Miller                              K<bob>
kbobsoft software consulting
http://kbobsoft.com                     [EMAIL PROTECTED]
_______________________________________________
Eug-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug

Reply via email to