[NTLUG:Discuss] untar-ing without creating one level of directories
Rick Cook
rick at rickcook.name
Mon Feb 11 23:07:34 CST 2008
On Monday 11 February 2008 22:40:02 Wayne Walker wrote:
> My bad, it's --strip-path or --strip-components according to the
> version of tar you have.
My bad too. Mine is --strip-components.
>
> On Mon, Feb 11, 2008 at 10:26:06PM -0600, Richard wrote:
> > Wayne Walker wrote:
> > > "normal usage":
> > > tar xfz pmwiki-latest.tgz
> > >
> > > "strip a level"
> > > tar xfz --strip 1 pmwiki-latest.tgz
> > > <snip>
> > >
> > > On Sat, Feb 09, 2008 at 12:26:27PM -0600, Richard wrote:
> > >> What is the term used to untar something without creating that first
> > >> directory structure level?
> > >> <snip>
> >
> > Well, my (GNU tar) 1.15.1 doesn't have --strip. hmm..
> >
> >
> > http://linux.die.net/man/1/tar shows some --strip options. Hm... I
> > wonder why Slack12 doesn't have strip.
> >
> > --
> > Richard
> >
> > _______________________________________________
> > http://www.ntlug.org/mailman/listinfo/discuss
More information about the Discuss
mailing list