Windows recursive grep command-line

前端 未结 8 795
栀梦
栀梦 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:51

    I recommend a really great tool:

    native unix utils:

    • http://unxutils.sourceforge.net/
    • http://en.wikipedia.org/wiki/UnxUtils

    Just unpack them and put that folder into your PATH environment variable and voila! :)

    Works like a charm, and there are much more then just grep ;)

提交回复
热议问题