I just tried it and it works. The shell AFIAK always has understood regex Raoul :-----Original Message----- :From: x-unix-bounces at listserver.themacintoshguy.com :[mailto:x-unix-bounces at listserver.themacintoshguy.com] On :Behalf Of Eugene :Sent: Thursday, December 23, 2004 2:18 PM :To: x-unix at listserver.themacintoshguy.com :Subject: Re: [X-Unix] Re: X-Unix Digest, Vol 4, Issue 5 : :On Thu, Dec 23, 2004 at 06:34:17PM +0100, Peter Dyballa wrote: :: :: Am 23.12.2004 um 16:55 schrieb :: x-unix-request at listserver.themacintoshguy.com: :: :: > rm -rf /Library/Fonts/* :: > :: >...and have it ONLY delete stuff in the directory that DOES :NOT begin :: >with "MS"? :: :: rm -rf /Library/Fonts/[^Mm][^Ss]* :: :: Check with ls -l /Library/Fonts/[^Mm][^Ss]* : :I don't think that works, unless the shell suddenly understands regular :expressions... : : :-- :Eugene :http://www.coxar.pwp.blueyonder.co.uk/ :_______________________________________________ :X-Unix mailing list :X-Unix at listserver.themacintoshguy.com :http://listserver.themacintoshguy.com/mailman/listinfo/x-unix :