Find all files with the extension ".log" in the "/data" directory and execute the command "sed -i 's/ERROR/WARNING/g'" on each of them.
find /data -type f -name "*.log" -exec sed -i 's/ERROR/WARNING/g' {} \;