AccessKey ID: bbb
Access Key Secret: ddd
AccessKey ID: aaa
Access Key Secret: ccc
一般的linux系统用下面的命令
sed -i 's/aaa/bbb/g' *.properties
sed -i "s/aaa/bbb/g" `grep "aaa" -rl *.properties`
Macbook下要在前面价格''
sed -i '' 's/aaa/bbb/g' *.properties
sed -i '' 's/ccc/ddd/g' *.properties
grep "aaa" -rl ./ |xargs sed -i '' 's/aaa/bbb/g'
grep "ccc" -rl ./ |xargs sed -i '' 's/ccc/ddd/g'
sed -i "s/jello/hello/g" `grep "jello" -l *.c
sed -i '' 's/ccc/ddd/g' *.properties
grep "aaa" -l ./ |xargs sed -i '' 's/aaa/bbb/g'
grep "ccc" -l ./ |xargs sed -i '' 's/ccc/ddd/g'
ccc
grep "aaa" -l *.*