1.find and sed and xargs
find . -type f -name '*.vcproj' \
| sed -e p -e 's/\.vcproj$/.vc9.vcproj/' \
| xargs -n2 mv \
;
2.find ./ -exec grep "/adm/images/c.gif" '{}' \; -exec sed -i 's/\/adm\/images\/c.gif/\/Admin\/Images\/c.gif/g' {} \;
3.
linux cmd sample
猜你喜欢
转载自linvar.iteye.com/blog/1119522
今日推荐
周排行