[OS X TeX] Snow Leopard and locator

Michael Sharpe msharpe at ucsd.edu
Sat Sep 12 06:09:56 CEST 2009


On Sep 9, 2009, at 12:35 AM, Martin Costabel wrote:

> Michael Sharpe wrote:
> []
>> the locate database approach is not yet dead. Of course, if there  
>> were a reasonable way to do the same thing that Find produces using  
>> a command line whose output could be filtered further, the  
>> prognosis for the locate database would be poor.
>
> What's wrong with the 'mdfind' command?
>
> -- 
> Martin

The main thing wrong with 'mdfind' is the documentation. I just  
reposted a version of LocateItem which makes use of either locate (not  
much reason to use it any more, except for hidden files and folders)  
or mdfind. The documentation adds a little to documenting the  
peculiarities of mdfind. The program gives (if 'Spotlight search' and  
'using DisplayName' are checked) essentially the same information as  
Find, but with wildcards permitted, and with settings saved between  
invocations, plus filtering.

It's at

http://mth.ucsd.edu/~msharpe/LocateItem.dmg


Michael





More information about the macostex-archives mailing list