参考:https://blog.csdn.net/zhangxinrun/article/details/6409125
echo "recursively removing .svn folders from" pwd rm -rf `find . -type d -name .svn`
#为了代码的规范性,需要查找rm命令是否成功
if [ $? != 0 ];then
echo "Error!"
exit -2
fi
亲测有用!
参考:https://blog.csdn.net/zhangxinrun/article/details/6409125
echo "recursively removing .svn folders from" pwd rm -rf `find . -type d -name .svn`
#为了代码的规范性,需要查找rm命令是否成功
if [ $? != 0 ];then
echo "Error!"
exit -2
fi
亲测有用!
转载于:https://www.cnblogs.com/ivyharding/p/11089886.html