Search the entire file system for files with the extension ".conf" and print the results, then use xargs to replace all occurrences of "foo" with "bar" in those files.
find / -name "*.conf" -print | xargs sed -i 's/foo/bar/g'