Sublime Forum

Search Files and Get Results NOT containing a specific string

#1

I’m working with a large collection of files, and I want to find out which ones are missing a specific string. Is there a way I can do that with Sublime? If so, what would I need to enter in the “Find” box inside the Find in Files section to do that?

Thanks in advance for any help.

0 Likes

#2

As far as I understand this can’t be done using Find in Files. I recon you’d be better off just using grep -rL foo dir/.

0 Likes

#3

Ahhh, thank you. I’ve been needing to grapple grep for a while now, so here’s my incentive.

0 Likes