Exclude directory warnings in grep with the --exclude-dir
option:
grep --exclude-dir=* 'search-term' *
Just look at the grep --help
page:
--exclude-dir=PATTERN directories that match PATTERN will be skipped.
Exclude directory warnings in grep with the --exclude-dir
option:
grep --exclude-dir=* 'search-term' *
Just look at the grep --help
page:
--exclude-dir=PATTERN directories that match PATTERN will be skipped.