Linux: Recursive find and replace

After Googling for a bit, the easiest solution I could find uses find and sed. Here it is:

find ./ -type f -exec sed -i ’s/oldstring/newstring/’ {} \;

That will edit all the files in place and will NOT create backups so buyer beware.

Source