把/oldboy目录以及子目录下所有以扩展名为.sh结尾的文件包含oldboy的字符串全部替换为oldgirl


find /oldboy -type f -name "*.sh"|xargs sed "s#oldboy#oldgirl#g"