Extract file from tar home/

Aaron Konstam akonstam at sbcglobal.net
Tue Jun 8 20:50:24 UTC 2010


On Tue, 2010-06-08 at 10:16 -0430, Patrick O'Callaghan wrote:
> 
> >  You man have
> > to say:
> > tar xvzf bobg.tar.gz ./bobg/foo or maybe foo is not at the top of
> the
> > directory.
> 
> Any Unix/Linux app that manipulates files clearly has to refer to them
> with pathnames. It hardly seems necessary to point it out every time.
> In
> fact it would be extraordinary if it wasn't the case.
> 
> > tar tvzf bobg.tar.gz will tell you that. Also you left out the z
> option
> > that you need to unzip.
> 
> My point is that you *don't* need the z option. tar understands it
> anyway (this is a feature from a year or two ago). Try it.
> 
> poc 
Again when you are right you are right. I never noticed that the z in
tar is optional. Thanks, I learned something.
--
=======================================================================
One of the worst of my many faults is that I'm too critical of myself.
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam at sbcglobal.net



More information about the users mailing list