If I have to update a lot of php files to correct a URL. I use the following sed command
for i in ./*.php;
do
sed “s/https\:\/\/www.mattpallotta.com\/home\//https\:\/\/www.mattpallotta.com\//g” $i > $i-new;
mv $i-new $i;
done;
This works out well for me.





































