Saul,

Thank you, that works beautifully.  I modified it slightly to allow a 
user to enter a search pattern on the command line, to wit:

#!/bin/sh

echo -e "Enter a file or pattern to search for...\n"
read file

for i in `find . -name "$file"`
  do rm -i $i
done

exit 0


Thanks again!

Joe
[EMAIL PROTECTED]




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to