Re: Other way to do it
> % Hi, well, maybe you already know
> % but under bash with the extglob shell
> % option enabled, you can do this:
> % rm !(file1 file2)
> % to remove everything but file1 and
> % file2.
> Or even,
> ls | egrep -v '(REGEXP1|REGEXP2|...)' |
> xargs rm # in most any shell
> ...without digging through the manpage,
> I'm certain `find' could also be coaxed
> into doing something like this as
rm `/bin/ls | grep -v PATTERN`
the europeans are revolting!
sorry for the pun... couldn't help myself.