Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On every OS I have ever been on I have found a way to find in files. That is obtain a list of files that have a certain values in them.

So it would seem that the Finder is the place to start. Not seeing an obvious option to "find in files", I checked help. In fact I searched help for "find in files". Nothing appears.

Does anyone know where the Finder option is for doing this? Or is this a really unusual thing to want to find files based on content rather than a file name.

I realize that I could open a shell window and try to recall the find and grep combination that solves all, however I prefer to do it through the GUI.

share|improve this question
up vote 0 down vote accepted

Click the loupe at the top right (either in the menu bar or any Finder window). It's your access to Spotlight, the search utility in OS X.

In the results (click Show all), you can select Contents instead of File name.

To further narrow down your search, click the small + icon on the right. You could then select the kind of files, restrict your results to a certain size, etc.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.