This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: find / without traversing /proc


The directory /proc is a bit special. More generally:
What about "find /d0 without traversing /d0/d1 or /d0/d2"?
The syntax
$ find /d0 \( -wholename /d0/d1 -o -wholename /d0/d2 \) -prune -o -print
works but is tortured; and can qualifiers e.g. -type f  or -type d be
incorporated?

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]