Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

grep exclude directory

grep -rli --exclude-dir={dir1,dir2,dir3} keyword /path/to/search
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #grep #exclude #directory
ADD COMMENT
Topic
Name
4+1 =