[CentOS] find with exclude directory

Sun May 11 17:04:45 UTC 2014
Brian Miller <centos at fullnote.com>

On Sun, 2014-05-11 at 12:33 -0400, Tim Dunphy wrote:
> Hey all,
> 
>  I'm trying to do a find of all files with the phrase 'varnish' in the
> name, but want to exclude a user home directory called
> /usr/local/digitalplatform.

find / -path /usr/local/digitalplatform -prune -name \*varnish\* doesn't
work?