findとawkで置換

find ./test/ -type f -exec awk '{gsub(/pre-word/, "post-word"); print $0 >"tmp"}' {} \; -exec mv tmp{} \;