how to find files in a pattern directory

view full story

http://www.unix.com – Hi, I have more than 1000 directories under one directory (lets says under /home/). Sub directories are like A1 to A100,B1 to B100 etc.. Here my problem is I need to find the files older than 10 days in the directories which starts with A*. I tried some thing like this which is not working. Code: find . \( -type d -name "A*" -type f -name "*.*" -mtime +10 \) Please help me with correct command. Thanks Shri [mod]Use code tags, please - see PM.[/code] (HowTos)