Searching for Files

The locate command searches a database of file names.

The find command searches your disk for files matching various critera.

Examples:
locate .mp3
locate "Work Order"

find . -name "*.mp3"
find  /Users/puffball/Documents -name "*Work Order*"

Tasks:

Tips:



Previous - Searching for Text Inside Files

Next - Search-and-Replace in Text Files

Home