Archivo de 18 Noviembre 2009

To do a multiple file replace of a specified string, just run the following

perl -pi.bak -e ’s/what to change/what to change to/g’ *

This also makes a backup of the files, with extension .bak

If you just want to modify, for example, PHP files, use the same but at the end replace ‘*’ with ‘*.php’

That’s all

Comments No Hay Comentarios »