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?
|
feedback
|
|
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. | |||
|
feedback
|
|
Or if you prefer the commandline,
You'll need to be (or get) familiar with Hm. Can't get to my OS X system to double check this, but another way to do it if OS X's grep doesn't support -R would be:
| |||||||||||
feedback
|
|
In the upper right hand corner of your screen: [Spotlight][1] Or, [BBEdit][2] supports great search, too, in files and folders. [1]: Mac 101: Spotlight [2]: BBEdit | ||||
|
feedback
|