Find Files Without Two Strings
Let’s say you need to find all files not containing two or more strings at the same time. You could simply do:
grep string1 -L ./ | xargs grep -L string2 | xargs grep -L string2
Let’s say you need to find all files not containing two or more strings at the same time. You could simply do:
grep string1 -L ./ | xargs grep -L string2 | xargs grep -L string2