I think you may find:
find / -type f -name core -exec rm {} ';'
to do exactly what you want.
The -type f tells it to only look at files and as such you wont
be relying on error reporting from rm.
Check the manpage for mroe details.
-- CaT (cat@zip.net.au) URL: http://www.zip.com.au/dev/nullThere was farting in the air that night, It lit so bright, Fernando...
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/