[SunHELP] Help find command?

Paul Dlug sunhelp at sunhelp.org
Mon Sep 24 14:23:11 CDT 2001


>Can anyone tell me how can find more than type using find command? 
>
>find /project -name "*.java *.c makefile" -print  does not work.
>

You can use the -o (OR) option, place it in parentheses also to ensure it's grouped properly.

Example:
find /project \( -name "*.java" -o -name "*.c" -o -name "makefile" \) -print



More information about the SunHELP mailing list