In your message, you said:

> 
> I know I've seen this thread before but I've lost my old mail.  I'm looking 
> for a version of the find command that will avoid afs directories.  Preferably 
> for the next_mach30 platform.  Is there one out there someplace?
> 
> Thanks.
> 
>         -Matt

I found the following syntax works well with AFS

% find / \! -fstype 4.2 -prune ${whatever}

For instance, to find and delete core files:

% find / \! -fstype 4.2 -prune -name core -exec /bin/rm -f {} \;

This will ensure that find only traverses 4.2 file systems.

Joe

Reply via email to