Find text string in file

Python script findtext.py looks for specific text you want inside any file smaller than a maximum size (avoiding searching binary files)

Recursive find and edit: to speedily edit the files recursively found, consider a command recursively searching for mytext like:

  • Linux: gedit $(findtext mytext) or nano $(findtext mytext)
  • MacOS: nano $(findtext mytext)
  • Windows Subsystem for Linux: nano $(findtext mytext)