grep -rH --include="*.xml" "customized" *
It may happen that the option"r (or -d recurse) of the grep command is not accessible; you are therefore requested to use the find command
An example, when searching for custom in all files constantly from the directory:
find . -type f -print | xargs grep custom
grep -rH --include="package.json" --exclude-dir="node_modules" "json-schema" .
grep --include=*.ts -rnw . -e 'events = {'
No comments:
Post a Comment