首页 > 其他 > 详细

批量删除.svn文件

时间:2014-01-18 18:37:51      阅读:405      评论:0      收藏:0      [点我收藏+]

  

Delete .svn folders on your Mac

 

Sometimes you need to get rid of .svn hidden folders on your Mac. In my case it was about resyncing my local working copy with client subversion repository. Everything was broken at both ends.

A couple of terminal commands to get rid of unneeded svn tracks:

cd /some/of/your/folders/
rm -rf `find . -type d -name .svn`
或者 find ./ -name .svn -print0 | xargs -0 rm -rf

It will delete any .svn folders under your current.

For lazy typists: don‘t forget that you can drag and drop folder from finder to terminal to populate path.

批量删除.svn文件

原文:http://www.cnblogs.com/canghuolong/p/3525030.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!