Linux下批量修改文件内容的命令
By Symphony - Last updated: Tuesday, August 4, 2009 - Save & Share - Leave a Comment
find -type f | grep \.php$ | xargs perl -i -pe s%conf.php%conf/conf.php%g
find -type f | grep \.php$ | xargs perl -i -pe s%conf.php%conf/conf.php%g