Find all files (-type f) that have been modified in the last 60 minutes (-mmin -60) and execute the command "sed -i 's/[er]/a/g' {}" on each of them (\;).
find ~ -type f -mmin -60 -exec sed -i 's/[er]/a/g' {} \;