find . -type f | xargs perl -pi.bak -e 's/string x/string y/g' #### find . -type f | xargs -n 255 perl -pi.bak -e 's/string x/string y/g'