in reply to run a perl script for all files in a folder

I am surprised no one listed this option. No need for a script, folks. perl -p -i -e 's/Municipality/City/g' * (The g is if you want all occurrences on the line to be changed, too, not just the first.)
  • Comment on Re: run a perl script for all files in a folder