Find text string in file
Python script findtext.py looks for specific text 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)ornano $(findtext mytext) - macOS:
nano $(findtext mytext) - Windows Subsystem for Linux:
nano $(findtext mytext)