Displaying 1 result from an estimated 1 matches for "uszmpwsls014lb".
Did you mean:
uszmpwslp014lc
2014 May 11
3
find with exclude directory
...files with the phrase 'varnish' in the
name, but want to exclude a user home directory called
/usr/local/digitalplatform.
Here's what I was able to come up with:
find / -path '/usr/local/digitalplatform/*' -prune -o -name "*varnish*"
Which results in this:
[root at uszmpwsls014lb ~]# find / -path '/usr/local/digitalplatform/*' -prune
-o -name "*varnish*" | grep digitalplatform
/usr/local/digitalplatform/.bash_logout
/usr/local/digitalplatform/varnish-2.1.5.tar.gz
/usr/local/digitalplatform/.viminfo
/usr/local/digitalplatform/.ssh
/usr/local/digitalplatform...