Unix

To remove all the .svn directories from the current folder downwards:

find . -name “.svn” -exec rm -rf {} ;

A safer version:

find . -name “.svn” -print0 | xargs -0 rm -Rf

Thanks to Colin for finding these, especially the safer one, for me on the Internet. Sorry I can’t acknowledge their sources, but I didn’t note where they came from.

Advertisements
Leave a comment

What do you have to say about this?

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: