bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: finding *.java and *.jsp files


From: James Youngman
Subject: Re: finding *.java and *.jsp files
Date: Thu, 6 Mar 2008 18:44:49 +0000

On Thu, Mar 6, 2008 at 1:59 PM, Preetam Palwe <address@hidden> wrote:
> Hello
>     I want to search my source directory to find all *.java and *.jsp
>  files. I am trying following expression but I am not getting the list.
>  What could be wrong?
>  $ find .  -iname '*.java' -and -iname '*.jsp'

A given directory entry only has one name.   I think you probably mean
"-or" instead of "-and".

James.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]