Windows recursive grep command-line

前端 未结 8 770
栀梦
栀梦 2020-12-12 08:44

I need to do a recursive grep in Windows, something like this in Unix/Linux:

grep -i \'string\' `find . -print`

or the more-preferred metho

8条回答
  •  一生所求
    2020-12-12 08:49

    I just searched a text with following command which listed me all the file names containing my specified 'search text'.

    C:\Users\ak47\Desktop\trunk>findstr /S /I /M /C:"search text" *.*
    

提交回复
热议问题