sed -i "s/oldString/newString/g" `grep oldString -rl /path` 转载于:https://www.cnblogs.com/thesunforever/archive/2009/06/25/1494713.html