Issue
How do I find out the files in the current directory which do not contain the word foo
(using grep
)?
id='dv3'>
Solution
The following command gives me all the files that do not contain the pattern foo
:
find . -not -ipath '.*svn*' -exec grep -H -E -o -c "foo" {} \; | grep 0
Answered By - Senthil Kumar Answer Checked By - Dawn Plyler (WPSolving Volunteer)