This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Skipping the /proc filesystem
- From: Randall R Schulz <rschulz at sonic dot net>
- To: cygwin at cygwin dot com
- Date: Tue, 22 Jul 2003 18:39:47 -0700
- Subject: Re: Skipping the /proc filesystem
David,
At 18:15 2003-07-22, David A. Cobb wrote:
Maybe this is something any native *nix speaker knows, but I'm stull
trudging up the learning curve.
It is entirely non-Cygwin-specific, yes.
If I do a (cygwin) find for some fragment of a filename, I get a whole
pile of hits in the /proc/registry area - none of which is
relevant. I would wish to tell find not to get involved with the
/proc filesystem at all.
Can that easily be done?
Very easily:
% find / -path '/proc' -prune -o -print
To paraphrase, "find starting in slash pruning away any path names that
begin with "/proc" and print all others."
Randall Schulz
--
David A. Cobb
--
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/