Welcome to Delicate template
Header
Just another WordPress site
Header

Remove hidden .svn folders from commandline

January 7th, 2009 | Posted by Michaël in Blog

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

You can follow any responses to this entry through the RSS 2.0 You can leave a response, or trackback.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">