Find all files with the extension ".eps" in the current directory and its subdirectories, and for each of those files, replace the string "false" with "true" when it appears after the string "generate".
find . -iname "*.eps" | xargs sed -i'' -e '/generate/s/false/true/g'