How to make a regexp search with find recursively . If you want to search only in php files, replace file_pattern with “*.php”
find . -iname
How to make a regexp search with find recursively . If you want to search only in php files, replace file_pattern with “*.php”
find . -iname
Recursively search all files matching a regexp in the current directory and then listing them.
find . -type f -name "*.file" | xargs grep -l "STRING"
This could also be done like this:
find . -type f -name "*.file" --exec grep -l "STRING" {} \;