UNIX find command - using multiple -name options

view full story

http://www.unix.com – Hi all, What am trying do is search for a directory that is owned by cm that only exists in a path that has a particular directory ex: what I'm using now is Code: find . -user cm -name '*.rel' -type d -exec ls -dl {} \; This is giving me stuff like this Code: ./../../foo1/../../*.rel ./../../foo2/../../*.rel ./../../foo1/../../*.rel etc.. I only want to see the .rel directories that are a sub-directory of foo2, not foo1 Is there any way to do this? Thanks in advanced. (HowTos)