Another useful tool to find and replace string in all files in subdirectories.

find . -type f -exec sed -i 's/foo/bar/g' {} +
comments powered by Disqus