David K. Trudgett wrote:

> On Mon, Jan 29, 2001 at 10:54:08AM -0500, Brad Clements wrote:
> 
> 
>> Call me stupid, I can't find the proper command line switch to get tar to 
>> ignore the top level directory name Zope-2.3.0-linux2-86
>> 
>> Do I have to untar into a junk directory, then cp -r everything to my 
>> current dir?
>> 
> 
> What's wrong with:
> 
> $ cp Zope-2.3.0-linux2-x86.tgz /usr/local/; cd /usr/local
> $ tar xzvf Zope-2.3.0-linux2-x86.tgz; mv Zope-2.3.0-linux2-x86 Zope-2.3.0
> $ rm Zope-2.3.0-linux2-x86.tgz

two steps too many ;)
Just tar -xvzf the original file,no need to copy and then delete the copy.
/me ducks


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to