2013-12-16

WEBのメールアドレスを一括で置換


grep -r "古いアドレス" ./public_html/*.htm*|sed 's/://'|awk '{ print $1 }'|sort -u|xargs sed -e 's/古いアドレス/新しいアドレス/g' -i