现在的位置: 首页 > 综合 > 正文

Delete .svn folders on your Mac 删除 .svn

2013年06月27日 ⁄ 综合 ⁄ 共 458字 ⁄ 字号 评论关闭

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.

抱歉!评论已关闭.