Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

grep but exclude directory

grep -rli --exclude-dir=/path/to/exclude "keyword"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #grep #exclude #directory
ADD COMMENT
Topic
Name
1+7 =