I read the question about how to find out the number of files that contain a certain string. This is possible with
grep -l "string" * | wc -l.
Is it possible to invert this, finding the number of files not containing the target string? I tried adding the
-v option, but this doesn't seem to output the right result.