Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Sep 2002 01:38:32 -0400 (EDT)
From:      Peter Leftwich <Hostmaster@Video2Video.Com>
To:        FreeBSD LIST <FreeBSD-Questions@FreeBSD.Org>
Subject:   find case-insensitive challenge
Message-ID:  <20020919013548.H83658-100000@earl-grey.cloud9.net>

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




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