Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Sep 2002 00:52:03 -0500
From:      Nick Slager <zith@zith.net>
To:        Peter Leftwich <Hostmaster@Video2Video.Com>
Cc:        FreeBSD LIST <FreeBSD-Questions@FreeBSD.Org>
Subject:   Re: find case-insensitive challenge
Message-ID:  <20020919005203.A14870@zith.net>
In-Reply-To: <20020919013548.H83658-100000@earl-grey.cloud9.net>; from Hostmaster@Video2Video.Com on Thu, Sep 19, 2002 at 01:38:32AM -0400
References:  <20020919013548.H83658-100000@earl-grey.cloud9.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020919005203.A14870>