grep+sed 全文件夹替换

grep aaa -rl ./test |xargs sed -i "s/aaa/11/g"


猜你喜欢

转载自tianmaotalk.iteye.com/blog/1562619