[NTLUG:Discuss] untar-ing without creating one level of directories

Richard ntlug at rain4us.net
Mon Feb 11 22:26:06 CST 2008


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



More information about the Discuss mailing list