L
L
Lici2014-05-12 22:02:18
macOS
Lici, 2014-05-12 22:02:18

How to search the contents of Apple Mac OS X files?

When I'm working, I need to do a search by the contents of the files, ala Find -> "img/logo.html" and get a list of files that contain it.
Spotlight does this too, but it's like planting flowers on a windowsill with a combine.
What is a minimalistic, compact and nimble tool for this? In Linux Mint, I had a kind of "Search for files" for this, what is the replacement for Mac OS X?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saenara, 2014-05-12
@Lici

have you tried man grep?
For example, if you need to find a file with the cfg extension containing the word bridge, then in the spotlight line I type:
bridge name:.cfg
And, which is typical, I get what I'm looking for.
You can also read the built-in help on spotlight and here, for example: www.macworld.com/article/1132788/spotlight2.html
There is also VisualGrep in the AppStore, but it costs a little money.
Well, find / grep / sh, of course, but without the GUI.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question