Find all files in the current working directory that were modified within the last 3 days and execute the command "sed -i 's/foo/bar/g' {file}" on each of them.
find $(pwd)/* -mtime -3 -exec sed -i 's/foo/bar/g' {} \;