seems a valid point.
maybe the LOST should be changed a bit...
is BISH reading this ?

--satsco.
-----------------------------------
--- Logu <[EMAIL PROTECTED]> wrote:
> hi,
> rm -rf $(tar ftz package.tar.gz) seems to remove the
> existing directories
> which have the same name as in the archive file.
> 
> when unpacking some files which have same names may
> be overwritten and it
> may not be recovered. But atleast the directories
> may be deleted after
> making sure it is empty.
> 
> I feel it is more safe to do rm -f $(tar ftz
> package.tar.gz); rmdir  -p
> $(tar -tzf package.tar.gz|grep '/$')
> 
> -Logu
> 
> ####[ GNU/Linux One Stanza Tip (LOST)
> ]#######################
> 
> Sub : Removing accidentally untarred package        
> LOST #180
> 
> If you accidentally untar a package and it messes
> with one of
> your directories, you can  delete all the files 
> produced by
> untarring with following: rm -rf $(tar ftz
> package.tar.gz)
> [Note : This needs to be done from the same dir of
> untarring]
> 
>
####<[EMAIL PROTECTED]>################################



__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/


-------------------------------------------------------
This sf.net emial is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to