From owner-freebsd-questions Wed Sep 18 22:50:32 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7EEB37B40F for ; Wed, 18 Sep 2002 22:50:30 -0700 (PDT) Received: from mail102.csoft.net (lilly.csoft.net [63.111.22.101]) by mx1.FreeBSD.org (Postfix) with SMTP id D611243E65 for ; Wed, 18 Sep 2002 22:50:29 -0700 (PDT) (envelope-from zith@lilly.csoft.net) Received: (qmail 15187 invoked by uid 1876); 19 Sep 2002 05:52:03 -0000 Date: Thu, 19 Sep 2002 00:52:03 -0500 From: Nick Slager To: Peter Leftwich Cc: FreeBSD LIST Subject: Re: find case-insensitive challenge Message-ID: <20020919005203.A14870@zith.net> References: <20020919013548.H83658-100000@earl-grey.cloud9.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020919013548.H83658-100000@earl-grey.cloud9.net>; from Hostmaster@Video2Video.Com on Thu, Sep 19, 2002 at 01:38:32AM -0400 X-Homer: Whoohooooooo! Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thus spake Peter Leftwich (Hostmaster@Video2Video.Com): > But there were two issues -- I had to escape the semicolon with a "\" -- > does this ever cause problems for find command lines? Second, this found No, its a requirement to ensure the shell ignores the character. > only *.jpg files and left behind *.JPG files so how do you make find be > case-insensitive? -exec ThankYouScript.sh {} \; Use -iname instead of -name. Regards, Nick -- "We demand rigidly defined areas of doubt and uncertainty." -- Douglas Adams To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message