| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| Date: | Mon, 4 Dec 2006 17:05:25 -0800 |
| From: | Gary Johnson <garyjohn AT spk DOT agilent DOT com> |
| To: | cygwin AT cygwin DOT com, fergus AT bonhard DOT uklinux DOT net |
| Subject: | Re: Resources not freed |
| Message-ID: | <20061205010525.GD25606@suncomp1.spk.agilent.com> |
| Mail-Followup-To: | cygwin AT cygwin DOT com, fergus AT bonhard DOT uklinux DOT net |
| References: | <457432D0 DOT 8050407 AT bonhard DOT uklinux DOT net> |
| MIME-Version: | 1.0 |
| In-Reply-To: | <457432D0.8050407@bonhard.uklinux.net> |
| User-Agent: | Mutt/1.5.12 (2006-07-14) |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
On 2006-12-04, fergus wrote:
> PS Is there a switch I can add to "find /" so that /proc is not traversed?
find / -path /proc -prune -o -name foo -print
If you omit the final -print, "/proc" will be printed along with all
occurrences of "foo". See the find(1) man page.
Regards,
Gary
--
Gary Johnson | Agilent Technologies
garyjohn AT spk DOT agilent DOT com | Wireless Division
| Spokane, Washington, USA
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |