Solaris 10 find command for upper and lower cases

  • Follow


When I was on a Linux system I could use the "find" command with the
( I think ) the "iname" option to find all file names in either upper
or lower case.

Is there any way to do this in Solaris 10  ?

Thanks,
Carl
0
Reply cnurb 7/29/2009 8:51:33 PM

>> On Wed, 29 Jul 2009 13:51:33 -0700 (PDT),
>> cnurb <cnurbw@yahoo.com> said:

> When I was on a Linux system I could use the "find"
> command with the ( I think ) the "iname" option to find
> all file names in either upper or lower case.

> Is there any way to do this in Solaris 10 ?

The Linux box is presumably using GNU find, so install
that on your Solaris box (or may already be there in
/usr/sfw/bin).

hth
t
0
Reply Tony 7/29/2009 11:01:27 PM


cnurb wrote:
> When I was on a Linux system I could use the "find" command with the
> ( I think ) the "iname" option to find all file names in either upper
> or lower case.
> 
> Is there any way to do this in Solaris 10  ?

Besides installing and using GNU find on Solaris as well, you could use:

   find . -name '[fF][iI][lL][eE]'

mp.
-- 
SysAdmin | Institute of Scientific Computing, University of Vienna
      PCA | Analyze, download and install patches for Solaris
          | http://www.par.univie.ac.at/solaris/pca/
0
Reply Martin 7/30/2009 8:06:27 AM

2 Replies
725 Views

(page loaded in 0.054 seconds)

Similiar Articles:













7/20/2012 4:09:29 AM


Reply: