From the man page for 'find'
Quote:
-prune If -depth is not given, true; if the file is a directory, do not
descend into it.
If -depth is given, false; no effect.
|
so in your case it won't descend. Also, using '*.*' as the start point in find is probably wrong.
You're supposed to give the dir to start from ie the top of the dir tree you want to search. Usually it'll be one of :
. - current dir
/ - all dirs in system (prob not what you want)
/some/dir/path - specific other dir, ie not current dir