$ perl -pi -e's/this phrase/that locution/g' /path/to/*.txt $