delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/22/21:38:58

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <5.2.1.1.2.20030722183014.01eeb838@pop.sonic.net>
X-Sender: rschulz AT pop DOT sonic DOT net
Date: Tue, 22 Jul 2003 18:39:47 -0700
To: cygwin AT cygwin DOT com
From: Randall R Schulz <rschulz AT sonic DOT net>
Subject: Re: Skipping the /proc filesystem
In-Reply-To: <3F1DE1B2.8080406@cox.net>
Mime-Version: 1.0

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019