Mac OS X's File
Find command ( -F) opens the Search window shown in Figure 2-27. It's a lot more powerful (and complex) than the basic Spotlight menu, because it can hunt down icons using extremely specific criteria. If you spent enough time setting up the search, you could use this feature to find a document whose
UP TO SPEED
The Search Bar
See the ovalish text box at the top of every Finder window? This, too, is a piece of the Spotlight empire. The beauty of this bar, though, is that it can search
To use it, just type a few letters of whatever you're looking for. The window instantly changes into the Search dialog box described on the previous pages, with one key difference: Among the search places listed along the top (Home, Computer, and so on), you'll see the name of the window you're searching. It will say, for example, "Folder 'Music.'"
Even better, once you've clicked the current-folder button in
Search window, Mac OS X will remember to narrow your results for each
In any case, once you've rounded up a list of matches, you can work with them just as described on Section 2.14.3.
The words at the top of the windowServers, Computer, Home, and Othersare
refers to other computers on your network,
Computer means your entire hard drive, except what's in other people's Home folders.
Home is your own Home folder (and not, say, the Applications folder, the Shared folder, or any other folders on your hard drive).
Others lets you limit your search to certain disks or folders (see Figure 2-28). You could do that to make the search even faster, or just to avoid having to wade through a lot of irrelevant results.
Once you've added a new search location to the list, it sprouts its own button at the top of the window, so that it's available the
If all you want to do is search your entire computer for files containing certain text, you may as well use the Spotlight menu described at the beginning of this chapter.
The power of the Search
, though, is that it lets you design much more specific searches, using over 125 different search criteria: date modified, file size, the "last opened" date,
To add a criterion to the list, click one of the + buttons at the right end of the dialog box. A new row appears in the window, whose pop-up
To delete a row from the Find window, click the button at its right end.
Here's a rundown of the ways you can restrict your search, according to the options you'll find in the first pop-up menu of a row. Note that after you choose from that first pop-up menu (Last Opened, for example), you're supposed to use the second pop-up menu to narrow the choice (Within the Last 2 weeks), as you'll read below.
. When the first pop-up menu says Kind, you can use the second pop-up menu to
And what if the item you're looking for isn't among the nine canned choices in the second pop-up menu? That's what the Others option is all about. It's the rabbit hole into a staggering array of hundreds of file typesranging
Last Opened/Last Modified/Created . When you choose one of these options from the first pop-up menu, the second pop-up menu lets you isolate files, programs, and folders according to the last time you opened them, the last time you changed them, or when they were created.
The commands at the top of the pop-up menu (Today, Since Yesterday, This Month) offer canned time-limiting options. The commands at the bottom (Exactly, Before, After, Within Last) let you be more precise with your time-limiting.
In any case, these are awesomely useful controls, because they let you specify a chronological window for whatever you're looking for. In fact, you're allowed to add two Date rows, which lets you round up files created before one date and after another.
Keywords . You're most likely to encounter keywords in saved Web pagesthey describe what the Web pages are about , rather than what specific words the pages contain.
Color Label . Mac OS X lets you not only tag certain icons with color labels (Section 2.10.1), butperhaps even more importantlylets you round them up later, for backing up, deleting, or burning to a CD en masse, for example. The criterion row sprouts seven colored dotsrepresenting the seven available color labelsplus an X, which means "find all icons with no label applied."
. The beauty of Spotlight is that it finds text
Still, one nice thing about this criterion is that you can add it more than once , to create super-specific name searches. If you want to find file names that start with "Chewbacca" and also contain "nude," now you know how.
. You can think of this option as the
Size . Using this control, and its "Greater than"/ "Less than" pop-up menu, you can restrict your search to files of a certain size. Use the second pop-up menu to choose KB (kilobytes), MB (megabytes), or GB (gigabytes).
. Choosing Other from the first pop-up menu opens a special dialog box containing more than 100
criteria. Not just the big kahunas like Name, Size, and Kind, but far more
You never know. Someday, you may remember nothing about a photo you're looking for except that you used the flash and an F-stop of 1.8.
You can manipulate the list of search results much the way you'd approach a list of files in a standard Finder list view window. You can move up or down the list by pressing the arrow keys, scroll a "page" at a time with the Page Up and Page Down keys, and so on. You can also highlight multiple icons
Or you can proceed in any one of these ways:
Find out where something is . If you click once on any item in the results list, the bottom edge of the window becomes a folder map that shows you where that item is. To get your hands on the actual icon, just choose File Open Enclosing Folder ( -R).
Open the file (or open one of the folders it's in) . If one of the found files is the one you were looking for, double-click it to open it (or highlight it and press either -O or -down arrow). In many cases, you'll never even know or care where the file wasyou just want to get into it.
You can also double-click to open any of the folders that appear in the folder map in the bottom half of the window.
Move or delete the file . You can drag an item directly out of the found-files list and into a different folder, window, or diskor straight to the Dock or Trash.
. After highlighting an icon (or icons) in the list of found files, you can use the commands in the File menu, including Get
Collapse the list
. By clicking the flippy
Copy a file . To copy a file, Option-drag it out of the Search Results window and onto the desktop, into a different window, or onto a disk or folder icon. Alternatively, highlight the file and then choose Edit Copy "Bunion Treatments.doc(or whatever the file's name is). Then click inside a different folder window, or click a folder itself, before choosing Edit Paste.
Make an alias . You can make an alias for one of the found items exactly the way you would in a Finder window: Drag it out of the window while pressing -Option. The alias appears wherever you release the mouse (on the desktop, for example).
Start over . If you'd like to repeat the search using a different search phrase, just edit the text in the Search bar (you can press Option- -F to select the text). The results pane updates itself as you type.
. If none of these avenues