in reply to How to Recursively search down thru directories to find a string and display its location.

sharathfierof2:

If you're running on *NIX, or have cygwin or equivalent installed for windows, you don't even need a script. You could use:

find /path -type f -print0 | xargs -0 grep 'string'

...or use the simpler statement shown by AM (next response).

Update: Corrected OPs name, added previous sentence.

...roboticus

When your only tool is a hammer, all problems look like your thumb.

  • Comment on Re: How to Recursively search down thru directories to find a string and display its location.
  • Download Code