Is there a way to search through all the text files in a folder (and subfolders) for a specific string or bit of text in Mac OS X?
|
You can't do this from the spotlight icon in the menu bar. But you can do it with spotlight:
Click on the name of your folder to restrict the search to the folder instead of the whole computer, which is what the default selection "This Mac" does. Then click the gear icon, choose show search criteria, and change the kind to text files. |
|||
|
|
If you prefer the command line,
You'll need to be (or get) familiar with |
||||
|
|
|
In the upper right hand corner of your screen: Spotlight BBEdit supports great search, too, in files and folders. |
||||
|
|
|
|
||||
|
|
|
|||
|
|