Linux批量替换文件内容

2641阅读 0评论2009-07-10 Mozer
分类:LINUX

find -name '要查找的文件名' | xargs perl -pi -e 's|被替换的字符串|替换后的字符串|g'
find -name 'pom.xml' | xargs perl -pi -e 's|||g'
上一篇:php 伪装艺术
下一篇:利用:hosts.allow和hosts.deny