From owner-freebsd-questions Thu Aug 10 14:48:17 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 0B2B137B642 for ; Thu, 10 Aug 2000 14:48:13 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.15 #1) id 13Mzhw-000GNM-00; Thu, 10 Aug 2000 22:17:44 +0100 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.15 #1) id 13Mzhy-000A1l-00; Thu, 10 Aug 2000 22:17:46 +0100 Date: Thu, 10 Aug 2000 22:17:46 +0100 From: Ben Smithurst To: Linh Pham Cc: Emmanuel Gravel , freebsd-questions@FreeBSD.ORG Subject: Re: [OT] shell scripting, testing for files Message-ID: <20000810221745.M48327@strontium.scientia.demon.co.uk> References: <20000810191204.27627.qmail@web1607.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Linh Pham wrote: > Have you tried: > > find /PATH_TO_START_SEARCH_AT | grep PATTERN ? Or even find /path/... -name "PATTERN" (unless you really want to use a regex instead of a shell glob, but I don't think the original poster did.) -- Ben Smithurst / ben@FreeBSD.org / PGP: 0x99392F7D FreeBSD Documentation Project / To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message