On 2006-12-04, fergus wrote:

> PS Is there a switch I can add to "find /" so that /proc is not traversed?

    find / -path /proc -prune -o -name foo -print

If you omit the final -print, "/proc" will be printed along with all 
occurrences of "foo".  See the find(1) man page.

Regards,
Gary

-- 
Gary Johnson                 | Agilent Technologies
[EMAIL PROTECTED]     | Wireless Division
                             | Spokane, Washington, USA

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to