一次性替换多个文件中匹配字符

find . -name "*.xml" -exec sed -i "s/\${xx}/0.1/g" '{}' \;

猜你喜欢

转载自godo121.iteye.com/blog/1498251