[CentOS] find with exclude directory
Stephen Harris
lists at spuddy.orgSun May 11 17:15:55 UTC 2014
- Previous message: [CentOS] find with exclude directory
- Next message: [CentOS] CentOS-announce Digest, Vol 111, Issue 6
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sun, May 11, 2014 at 12:33:47PM -0400, Tim Dunphy wrote: > find / -path '/usr/local/digitalplatform/*' -prune -o -name "*varnish*" Try find / -path /usr/local/digitalplatform -prune -o name '*varnish*' -print Without the explicit -print, find will implicitly add one e.g find / \( -path .... -o -name ... \) -print -- rgds Stephen
- Previous message: [CentOS] find with exclude directory
- Next message: [CentOS] CentOS-announce Digest, Vol 111, Issue 6
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list