On 2004-09-14 at 08:40:55, Austin Hastings wrote: > In particular, I wanted to remove "* but not Makefile" (since my > Makefile uses lwp-download to re-fetch the source code, etc.)
Well, you can, depending on your shell: in ksh: rm !(Makefile) in bash: ditto, but you have to turn on the "extglob" option first with shopt -s extglob in csh: think you're out of luck here. Note that ksh/bash support multiple exclusions via alternation: rm !(Makefile|configure|config.in) -Mark