Page 1 of 1

Find files that don't contain a specified string

Posted: Mon Jun 14, 2010 4:55 am
by Nick
How could I return all files that don't contain a specified string?

Posted: Mon Jun 14, 2010 8:00 am
by ben_josephs
I don't believe TextPad can do this.

You can do it with the command-line utility grep, of which there are many versions for Windows, including
http://www.gnu.org/software/grep/
which is free.
Use the option -L (print only names of files containing no match).

There are also GUI versions (of which I know nothing), such as
http://www.wingrep.com/
which is not free.