> Try:
>
> find / -name afs -prune -o -name core -atime +7 -exec rm -f {} \; -o -fstype nfs
>-prune
Which doesn't quite work if I have a local tree like
/users/kls/notes/afs/...
which contains my notes about AFS. Until find's -name option can be
told to match pathnames, not just the last component of a pathname,
using it to prune as you suggest isn't robust, unfortunately.
--
Karl Swartz |INet [EMAIL PROTECTED]
SLAC Computing Services | or [EMAIL PROTECTED]
1-415/926-3630 |UUCP uunet!lll-winken!unixhub!kls -or- ditka!kls
(SLAC and the US Dept. of Energy don't necessarily agree with my opinions.)