perl replace text in multiple files
perl replace text in multiple files
perl -pi -e 's~OLDTEXT~NEWTEXT~g' /path/to/filenames/*Alternative (to avoid escaping slashes):
perl -pi -e 's|w/|with|g'perl replace text in multiple files
perl replace text in multiple files
perl -pi -e 's~OLDTEXT~NEWTEXT~g' /path/to/filenames/*Alternative (to avoid escaping slashes):
perl -pi -e 's|w/|with|g'