The Spotlight search tool is often described as the best part of Mac OS X Tiger. It was the "breakthrough feature in OS X version 10.4--the reason to get Tiger" (http://www.pcworld.com/news/article/0,aid,120646,00.asp) and so on.
So how come I never use it?
Oh, it pops up every now and then when I accidentally hit its hot key, but except when I played with it to find out what it was all about and how it worked, I've never had a reason to use it. That must be because I never have to find files, right? Must be nice to have such a great memory, you say.
Nope. My memory is as flaky as anyone else. I often have to find files. But.. Why would you ever want to just find a file? "Oh, I was just curious where I put that foo-bah file.. thanks, Spotlight!". Or "Ayup, I just wanted to check that it's still there. I see it is, thanks" or "I wonder which of my files have the word 'extra' in them?".
Not very likely or very often. Usually when I want to find files it's because I want to DO something with them. I want to delete them, copy them, edit them, or look at them. Spotlight isn't particularly helpful for any of that. It brings up a list of matching files, but you have to take it from there.
That's why I'm more apt to be running "grep" or "find" at the command line. I can do:
vi `grep -l foo *html`
find . -empty -delete
find . -name '*.html' -exec cp {} /tmp \;
and of course much, much more.
The command line version of Spotlight (mdfind) can be piped to other commands, but although in some ways it has much more power than the venerable "find" and "grep" that I do use constantly, in other ways it really has less. For one thing, both Spotlight and mdfind ignore text files with extensions they doesn't understand. I'll talk more about that in another article, but for me, the limitations far exceed the usefulness.
Update: Spotlight improved in Leopard and I now use it frequently.
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.
Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.
We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.
Click here to add your comments
Don't miss responses! Subscribe to Comments by RSS or by Email
Click here to add your comments
If you want a picture to show with your comment, go get a Gravatar