How to find files with certain text in the Terminal
grep -r 'text goes here' path_goes_here
use spotlight
mdfind "text goes here"
mdfind -onlyin /home/user/Desktop -live "live update"
don't forget to look at:
man mdfind
- Through Ack
brew install ack
ack "text goes here"
- Through find
find . |grep "text goes here"
- Through grep
grep -RnslI "text goes here"