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`

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.

Add new comment
Comments
For Coda Users.

If you're a Coda user and are looking to change the Repository URL then you have to follow the terminal command instructions above *and then* create a new 'Site' in Coda. Delete the old one. It will give you the "Checkout Source..." option after that.

J

@Josh P You just don't make

@Josh P
You just don't make sense :
I will delete all .svn folders recursively, then create a new site in Coda, then delete the old one, then go back to Coda to be able to make a brand new checkout… pfffuiiii…If what you are trying to achieve is to change the Repository URL :
1-in Coda note down your site specs
2-delete site
3-create new site
4-checkout

you fu*** di***. That deleted my entire source...

thanks.

The command could not delete

The command could not delete source unless you did something wrong (missed some character, or symlinked something in a wired way?). RTFM?

But yes, it will delete your SVN history. But still not the source code.

I get too lazy to type print,

I get too lazy to type print, so I use:
find . -not \( -name .svn -prune \) -type f
Roy

inofrmative blog

It's seems very informative. I have also face this problem in my Mac book. That's so nice of you to share a solution on this site.