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`

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.

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

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options