On Tue, 2002-10-22 at 22:51, Satsco wrote: > seems a valid point. > maybe the LOST should be changed a bit... > is BISH reading this ?
I guess he is - but please post (or crosspost) LOST related issues to the LOST mailing list at [EMAIL PROTECTED] List archives / subscription etc available at http://frodo.hserus.net/mailman/listinfo/howtos/ -suresh > > --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]>################################ ------------------------------------------------------- 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