经常使用文件 怎么去掉 .svn文件
echo 'start~'
if [ -z $1 ]; then
echo 'please input you need del directory!';
exit;
elif [ ! -d $1 ]; then
echo "$1 is not directory";
else
cd $1;
echo "change path $1";
find . -type d -name ".svn" |xargs rm -rvf;
find . -type f -name "Thumbs.db" |xargs rm -rvf;
fi;
网友评论