2012年6月1日 星期五

[sed] Find & Replace across multiple files in linux


[sed] Find & Replace across multiple files in linux



find ./ -name '*.sh' -print | xargs sed -i 's|German|Hungarian|g'



xargs- This command is used when you want to pass a lot of arguments to one command. xargs will combine the single line output of find and run commands with multiple



Reference:


Related Posts:

0 意見:

張貼留言