Please note that this entry is just a reminder for myself.
sed -i ‘s/pattern1/pattern2/g’ *.txt
Change patterns in multiple files in multiple directories.
grep -rl ‘all_’ ./ | xargs sed -i ‘s/all_/ipm_/g’
Please note that this entry is just a reminder for myself.
sed -i ‘s/pattern1/pattern2/g’ *.txt
Change patterns in multiple files in multiple directories.
grep -rl ‘all_’ ./ | xargs sed -i ‘s/all_/ipm_/g’