Linux批量对某个目录下特定文件进行修改内容

find ./ -type f -name consumer.xml -exec sed -i "s/aaaa/bbb/g" {} ;

  

原文地址:https://www.cnblogs.com/lucktomato/p/15115470.html