Find all files with the extension ".log" in the current directory and its subdirectories, and replace the word "Perl" with "Python" in each of those files.
find ./ -name "*.log" -exec sed -i 's/Perl/Python/' {} \;