2

Possible Duplicate:
Software for text search in files

I have a python project with nested folder structure

src/
  folder_1
  folder_2
    subfolder_1
    subfolder_2
  folder_3
    subfolder_1
      subsubfolder_1
    subfolder_2
  etc.

I am looking for a piece of code and the project is too big to go through every file manually.

Is there a way to search for a string "mystring" inside all the files located in src or any subfolder of src?

Aufwind
  • 1,823
  • 4
  • 24
  • 30
  • Possible dublicate - [Software for text search in files](http://askubuntu.com/questions/29483/software-for-text-search-in-files) – Nitin Venkatesh Dec 21 '11 at 13:02

1 Answers1

3

grep -R src/*

Rinzwind
  • 293,910
  • 41
  • 570
  • 710