mdfind command not working properly in SnowLeopard and Leopard

Joined
Sep 16, 2008
Messages
11
Reaction score
0
Points
1
Hi all

I am using mdfind command to search the items in my system, but it fails when i login as a root in SnowLeopard and Leopard.If I login as a user then it works fine.

For eg. If my application is on the desktop and i type command in terminal

mdfind -onlyin ~/desktop applicationname

it wont display any result.

It is working only if my application is in the "Applications" on my mac.

Regards
Neha
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top