Find all files (-type f) that have been modified in the last 10 minutes (-mmin -10) and execute the command "sed -i 's/\t/    /g' {} +" on them.
find ~ -type f -mmin -10 -exec sed -i 's/\t/    /g' {} +