On Thu, Dec 23, 2004 at 02:23:11PM -0500, Raoul Armfield wrote: : Eugene wrote: : : 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... : : I just tried it and it works. The shell AFIAK always has understood regex Just checked the manual. It's a feature that's available in newer shells like bash and zsh. It's not there in sh, csh, and even tcsh. -- Eugene http://www.coxar.pwp.blueyonder.co.uk/