Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Specify Multiple Directories in Notepad++ Find in Files

Notepad++'s "Find in Files" is amazingly helpful. But I want to specify a bunch of directories in which the search should take place.

enter image description here

Above you see me add the wildcards to the "Directory" field:

C:\*\vc90\*

However my version of Notepad++ doesn't seem to tolerate asterisks in the path.

I have about 30 Visual Studio Projects who's names I want to be grabbed by the first asterisks in the path, but I only want to modify files in the vc90 version of these projects (not vc80, vc100, etc.), and I don't want to have to go individually specify each of the directories.

Is there some other recourse for me?

like image 445
Jonathan Mee Avatar asked Feb 01 '16 17:02

Jonathan Mee


1 Answers

PowerGREP

While it's not Notepad++, and it's not free, PowerGREP can do what you're looking for. You can download an evaluation version, which appears to still be working on my machine, months later.

I created a few mock files/folders and it seems to work as you expect. There are options to create backups, etc.

enter image description here

enter image description here

enter image description here

like image 79
Denham Coote Avatar answered Sep 26 '22 23:09

Denham Coote