Chapter 2. Searching and Metadata

 < Day Day Up > 

If a Unix Geek needs to find something, she'll probably use locate or find, depending on what she's looking for. Because locate is based on a static database that's only regenerated periodically (see "Scheduling Tasks in Chapter 4), it would be the choice for things that don't change a lot (virtually anything in /usr). It's also much faster because it has that database to consult. And trusty old find, slow as molasses, it what you need when you need more control over the search or when you're looking for something that locate doesn't know about, such as files that have been created recently.

But Tiger introduces a new search capability, Spotlight , which stores and sifts through file metadata faster than a herd of sheep can clear a field. Spotlight comes in two forms: a GUI interface accessible from the menubar, and a suite of command-line utilities. This chapter introduces you to Spotlight and shows you how to take advantage of all it has to offer.

     < Day Day Up > 


    Mac OS X Tiger for Unix Geeks
    Mac OS X Tiger for Unix Geeks
    ISBN: 0596009127
    EAN: 2147483647
    Year: 2006
    Pages: 176

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net