Searching for Files, Directories, and More

Unix traditionally has provided useful tools for searching for files by name and content, and Apple has expanded on these by making available a command-line interface into the same databases that the Finder uses to locate files. Unix's traditional tools don't work from a database like the Finder's file searching function does, so they run more slowly. On the other hand, they aren't hampered by needing a database to run or by being only as current in their results as the last database update.

Finding Files: locate, find, mdfind

Sometimes you want to find some files, but you are not sure where they are. Three tools are available to search for files: locate, find and mdfind. Despite having the same purpose, ...

Get Mac OS® X Tiger™ Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.