This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: find / without traversing /proc
- From: Ugly Leper <ugly dot leper at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 27 Apr 2017 17:31:01 +0100
- Subject: Re: find / without traversing /proc
- Authentication-results: sourceware.org; auth=none
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