Changing Multiple Files
A port exist to move/rename multiple files, but I didn't found a port to replace the same string with an another string within the file, so I wrote a script to replace a string.
You can execute it by calling 'sh file ', where file would be the file that contains the commands. You can simply subsitue the ChangeFrom , changeFrom , ChangeTo and changeTo with strings of your liking. You can also easly add more sed stated mens to replace
find . -name "*.php" -exec grep -l ChangeFrom {} \; > tmp
cat tmp | sed -e "s/^\(.*\)$/cat \\1 | sed -e 's?ChangeFrom?ChangeTo?g' | sed -e 's?changeFrom?changeTo?g' > x; mv x \\1/" > tmp.sh
sh tmp.sh
cat tmp.sh