文件(夹)重命名
find . -name "*" -exec rename 's/oldString/newString/' {} \;
文件内容替换
sed -i "s/oldString/newString/g" `grep oldString -rl ./`
find . -name "*" -exec rename 's/oldString/newString/' {} \;
sed -i "s/oldString/newString/g" `grep oldString -rl ./`