This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: 'find' case insensitive filenames
- To: "Yu-Jui Lee" <yjlee@go-trinity.com.tw>, <cygwin@sourceware.cygnus.com>
- Subject: Re: 'find' case insensitive filenames
- From: "Randall R. Schulz" <rschulz@teknowledge.com>
- Date: Thu, 3 Jun 1999 21:58:07 -0700
Hello,
Gnu find includes the predicate option -iname, which stands for case
Invariant name match and does exactly what you want.
Your example would be notated as:
find . -iname fobar
Randy Schulz
Teknowledge Corp.
Palo Alto, CA USA
At 19:49 -0700 6/3/99, Yu-Jui Lee wrote:
>Hi,
>
>This may be a stray topic. But in a Win32 environment, the convention with
>file names is case insensitive. While the 'find' command in cygwin b20.1 is
>case sensitive. For example, if I want to find a case-insensitive "foo.bar",
>I need to type "find . -name "[Ff][Oo][Oo][Bb][Aa][Rr]". Is there a
>convenient way to do this?
>
>Thanks!
>
>Yu-Jui Lee
>
>Trinity Communications Inc.
>Taipei Taiwan.
>
>
>--
>Want to unsubscribe from this list?
>Send a message to cygwin-unsubscribe@sourceware.cygnus.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com