On Tue, Oct 22, 2002 at 04:12:56PM +0530, Logu wrote:
> 
> rm -rf $(tar ftz package.tar.gz) seems to remove the existing 
> directories which have the same name as in the archive file.
> 

Yep, very much possible possible ... normally it is best to do
a tar -tzvf to see what all the tarball  contains and if there
is anything that may be overwritten if the directory exists in
pwd.

If existing dirs are to be retained, your  suggestion of doing
rm -f $(tar ftz package.tar.gz), instead of a rm -rf  would be
a better solution. The dirs may be removed  manually  later if
needed.

Amendments will be made ...

Bish

--
:
####[ GNU/Linux One Stanza Tip (LOST) ]#######################

Sub : Default colours on terminals                   LOST #027

To change the default colours to a  white foreground on a blue
background on, append following to .bashrc/ .bash_profile

setterm -background blue -store
setterm -foreground white -half-bright off -store
clear

####<[EMAIL PROTECTED]>####################################
:


-------------------------------------------------------
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