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?

1

1 Answer 1

3

grep -R src/*

Not the answer you're looking for? Browse other questions tagged or ask your own question.