[NTLUG:Discuss] untar-ing without creating one level of directories
Wayne Walker
wwalker at bybent.com
Mon Feb 11 22:40:02 CST 2008
My bad, it's --strip-path or --strip-components according to the
version of tar you have.
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
--
Wayne Walker
wwalker at bybent.com Do you use Linux?!
http://www.bybent.com Get Counted! http://counter.li.org/
Perl - http://www.perl.org/ Perl User Groups - http://www.pm.org/
Jabber: wwalker at jabber.bybent.com AIM: lwwalkerbybent
IRC: wwalker on freenode.net
More information about the Discuss
mailing list