This is the mail archive of the cygwin@cygwin.com 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: 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/


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