[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to install comp.tgz after installed base system?
On Sat, Feb 02, 2002 at 01:09:27AM +0100, Nils Frohberg wrote:
> a (not very nice) way of uninstalling it is by using a shell loop:
> for i in `tar tzf comp30.tgz` ; do rm -f /$i ; done
>
> edit for your appropriate shell, but beware!, doing a 'rm -f /$i' can
> be hazardous to your health if $i is wrong. like i said, not a nice way
> to solve the problem. better get the output of tar into a file and check
> it manually.
>
> anyone a better idea?
hm, that's a pretty huge commandline. i'd do
tar tzf comp30.tgz | xargs rm -f
you'll get lots of errors on trying to rm directories (which it won't do).
kevin
--
kevin@suberic.net buffy: come on, can't you put your foot down?!
fork()'ed on 37058400 giles: it *is* down.
meatspace place: orbit buffy: one of these days you're going to have to
http://suberic.net/~kevin get a grown up car. --inca mummy girl