perl -pi.orig -e 's/original/substitute/g' #### perl -spi -e 's/Bartholome/Richard/g' /path/to/folder/*