[dacrib.net]

How to make a backup + perform a search and replace on multiple files.

Using perl of coarse. It took me a second to get this to work; but its pretty easy:

perl  -pi.bak -e ‘s/string1/string2/g’

Exit mobile version