For some people, Apple’s Spotlight technology is a great boon, shining bright light into the dark nooks and crannies of a hard disk. For others, particularly those who want to search primarily by file name, Spotlight can be annoying to use. I fall into that latter group – I know what my documents are called, for the most part, so if I’m looking for a document, I almost always search by file name (when I do search by “contents” – all file metadata, including textual content – I’m usually disappointed).
One frequently mentioned solution to the Spotlight problem is the freeware EasyFind from DEVONtechnologies, which Matt reviewed in “EasyFind 4.0: It’s Easy, It Finds, It’s Free” (11 October 2007). But EasyFind is relatively slow, since it doesn’t index your hard disk, and Spotlight can be tweaked to work more the way many of us want, with a few simple settings. There’s nothing new here, but lots of Mac users still aren’t aware of these options.
First, if you usually know roughly where the files you’re looking for are located, you can restrict Spotlight to search the current Finder folder by default, instead of This Mac. To do this, choose Finder > Preferences, click the Advanced button, and choose Search the Current Folder from the pop-up menu. From then on, when you invoke the Finder’s Find command by choosing File > Find (Command-F), searches will be limited to the current folder showing in the frontmost Finder window. This option first appeared in Mac OS X 10.6 Snow Leopard.
Second, if you usually want to search by file name instead of the file’s contents, you can make sure the Search bar at the top of the Finder window is set to File Name without requiring an additional click. Hold down the Shift key, and choose File > Find by Name (Command-Shift-F). This command is available in both Mac OS X 10.5 Leopard and 10.6 Snow Leopard.
If you want Find by Name to be your default action, you can switch the keyboard shortcuts using the Keyboard Shortcuts view of the Keyboard preference pane. Just click the + button, and add entries for “Find” and “Find by Name…” (note the three periods – not an ellipsis – after the name) with the appropriate keyboard shortcuts. You may have to log out or restart for the new shortcuts to become active, and I’ve found remapping shortcuts in this fashion to be a bit finicky, sometimes requiring multiple tries. Again, you can do this in both Leopard and Snow Leopard.
One last suggestion. You can adjust the look of the search results window just like any other Finder window, and once you’ve done that, the Finder remembers it for subsequent usages. To do this, first start a search. Once the Finder window has search options in it, switch to the desired view (I prefer List view – choose View > as List or press Command-2) and choose View > Show View Options to reveal the View Options window. In it, you can select the “Always open in list view” checkbox if you desire, and you can pick which columns appear. I prefer Date Modified to the default of Last Opened, and yes, it’s a darn shame that not all columns are available – notably Size. I have no idea why Apple won’t allow us to see the size, version, comments, and labels of found items. You can also resize columns by dragging their column separators and rearrange columns by dragging their headers. Once you get the window looking the way you like, close it, and the Finder should remember its layout next time.
A few quick caveats. If you have “Always open folders in a new window” selected in the Finder’s General preferences, using either of the Find commands will create a new window that defaults to whatever location is set in the “New Finder windows open” pop-up menu, which will likely be confusing. I recommend deselecting the “Always open folders in a new window” option. Also, these settings apply only when you start the search from the Finder, not if you use the Spotlight menu or Command-Spacebar.
If you find yourself changing Spotlight’s Search bar settings every time you look for a file, perhaps these settings will make your life just a little bit easier.