How to find the files recursively having a text pattern excluding some directories and files

Viewed 365

How to find the files recursively having a text pattern excluding some directories and files?

Example:- 
$ ls
bower.json      bower_components    configure       results         unit-tests

so I need to find "searchText" recursively in all directories excluding bower.json and results

1 Answers
Related