Phrase searching using Python and Spotlight

Things have been a bit quick here, one reason I’ve not been doing much writing.

I did whip together a python script for phrase searching using Spotlight. The basic logic behind this is that Spotlight does not do phrase searches for document content. But you can use Spotlight to get a list of a small number of files you want to search, then extract the text content from those files. It’s one of those examples of productive procrastination I do. Download it to a place in your path, run it, and give it a search phrase.

Leave a Reply