Posted in Command Line, Linux, Perl Replacing in Found Files Binny V A June 25, 2009 Leave a Comment on Replacing in Found Files Replace one string by another in all file found by find. find . -name *whatyouwant* -exec perl -pi.bak -e 's/TEXT_TO_REPLACE/TEXT_TO_REPLACE_IT_WITH/g' {} \; Author: Binny V AA philosopher programmer who specializes in backend development and stoicism.