Archive forJanuary, 2009

Remove hidden .svn folders from commandline

I had a small problem on my Mac when I wanted to rebuild a subversion repo. When I worked on windows, I just searched the project folder for .svn folders.

But on Mac and Linux, thats another story. Thankfully for the commandline, one quick command, and the problem is fixed:
find . | grep .svn$ | xargs rm -rf

Comments