Problem with find command

Hello Friends,

When i give the command from path from path /var/tmp/asirohi/jdk/docs:-
 find /var/tmp/asirohi/jdk/docs/ . -depth -name license_*.html

I get the following output:-
/var/tmp/asirohi/jdk/docs/zh_Hant/jre/license_zh_Hant.html
/var/tmp/asirohi/jdk/docs/zh_Hant/license_zh_Hant.html
/var/tmp/asirohi/jdk/docs/zh_Hant/sdk/license_zh_Hant.html
./zh_Hant/jre/license_zh_Hant.html
./zh_Hant/license_zh_Hant.html
./zh_Hant/sdk/license_zh_Hant.html

where as i just want out put as
/var/tmp/asirohi/jdk/docs/zh_Hant/jre/license_zh_Hant.html
/var/tmp/asirohi/jdk/docs/zh_Hant/license_zh_Hant.html
/var/tmp/asirohi/jdk/docs/zh_Hant/sdk/license_zh_Hant.html

What is the reason?

Thanks
Adi

Hi, Try this

find /var/tmp/asirohi/jdk/docs/ -depth -name license_*.html

reason is because "." used after the dir name you have given ..

Thanks, that was helpful