From owner-freebsd-questions Wed Sep 18 22:38:54 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 83E0A37B401 for ; Wed, 18 Sep 2002 22:38:53 -0700 (PDT) Received: from russian-caravan.cloud9.net (russian-caravan.cloud9.net [168.100.1.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 337D343E4A for ; Wed, 18 Sep 2002 22:38:53 -0700 (PDT) (envelope-from Hostmaster@Video2Video.Com) Received: from earl-grey.cloud9.net (earl-grey.cloud9.net [168.100.1.1]) by russian-caravan.cloud9.net (Postfix) with ESMTP id 9D02428C08 for ; Thu, 19 Sep 2002 01:38:32 -0400 (EDT) Date: Thu, 19 Sep 2002 01:38:32 -0400 (EDT) From: Peter Leftwich X-X-Sender: To: FreeBSD LIST Subject: find case-insensitive challenge Message-ID: <20020919013548.H83658-100000@earl-grey.cloud9.net> Organization: Video2Video Services - http://Www.Video2Video.Com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Tonight I surprised myself by running `find ~/Desktop/folder/ -name "*.jpg" -exec mv {} ~/Desktop/folderjpgs/ \;` successfully! My first custom find command line ever. 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 only *.jpg files and left behind *.JPG files so how do you make find be case-insensitive? -exec ThankYouScript.sh {} \; -- Peter Leftwich President & Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message