Re: [ILUG] Find Command

From: Padraig Brady (padraig at domain antefacto.com)
Date: Wed 05 Sep 2001 - 13:57:56 IST


SoloCDM wrote:

>How is it possible to force the find command to list all files with
>"read" in the filename, regardless whether they start with a period
>or not?
>
>I already tried the following:
>
> find /usr -iname ".*read*" -iname "*read*" -type f -print
>
Well you learn something new every day. I didn't know globbing
didn't match dot files? Anyway the find command you want is:

find /usr \( -iname ".*read*" -or -iname "*read*" \) -type f -print

Padraig.



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:12:00 GMT