linux下批量替换文件夹下某个字符串

sed -i "s/原字符/替换的字符/g" `grep 原字符 -rl /var/www/项目名`

posted @ 2015-10-22 11:43  Forward1990  阅读(228)  评论(0编辑  收藏  举报