Quick tip! Unix remove .svn directories recursively

When you need to copy entire directories from an existing subversion project without using “svn export“. Shell is your friend !
To get the list of svn directories :

 find . -name ".svn" 

Then comes the “xargs” command :

 find . -name ".svn" | xargs rm -rf 

Enjoy !

2 Replies to “Quick tip! Unix remove .svn directories recursively”

Leave a Reply