views:

505

answers:

2

Hi,

I am looking for a windows tool (exe) or python script which can be used on command line to search and replace strings in text files recursively in a source code tree.

Any suggestions ?

P.S. I am trying to avoid the custom syntax of sed/awd like linux tools. P.S.S. It needs to be automated, therefore it needs to be command line.

Thanks.

Paul

+2  A: 

I think WinGrep may meet your needs. I believe it can be run from the command line. Link: www.wingrep.com

Brian Sullivan
+1  A: 

A little pricey, but PowerGrep has a command line interface or so the manual says.

DoxaLogos