Saturday, October 31, 2009

spotlight on the command line

I've recently learned about mdfind on OSX. mdfind is essentially a commandline interface to Spotlight. One of the benefits of using mdfind over locate is that the indexing is done in real time. As soon as the file is added to the file system, it is added to the index.

You can read up on the command at:
http://macdevcenter.com/mac/2006/01/04/mdfind.html

No comments: