find /opt -regextype "posix-egrep" -regex ".*properties|.*js|.*jsg|.*vm|.*html" |while read L;do sed -i "s/www.baidu.com/www.qq.com/g" $L;done


把/opt下所有properties js jsg vm html文件中的baidu替换成qq