Last Updated: February 25, 2016
·
1.153K
· maxime

Replace a string in multiple files with perl

Always keep that somewhere.

perl -pi -e 's/oldstring/newstring/g' *.txt

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Best #Perl Authors
ksi
25.58K