[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:
0 意見:
張貼留言