in reply to One-Liner for In Place Text Replacement of Multiple Files
perl -pi -e 's/foo/bar/' * [download]
See perlrun for more info.