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 -pi -e 's~OLDTEXT~NEWTEXT~g' /path/to/filenames/*
Alternative (to avoid escaping slashes):
perl -pi -e 's|w/|with|g'
Don’t for get to \ out any wildcards, spaces, etc inside the single quotes.