Created
September 20, 2012 07:30
-
-
Save fay/3754431 to your computer and use it in GitHub Desktop.
替换多个文件中内容
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sed -i "s/aaaaaa/bbbbbb/g" `grep "static.shanbay.com" /home/fay/txts/* -rl` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
最好先执行 grep "some text" /home/fay/txts/* -rl 确认下是否是这些文件需要修改