On Thu, Mar 6, 2008 at 1:59 PM, Preetam Palwe
<preetamp aftek.com> 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.
|