Find all files with the extension .txt in the current directory and its subdirectories, and replace all occurrences of "foo" with "bar" in each file.
`find ./ -type f -name '*.txt' -exec sed -i 's/foo/bar/g' {} \;`