Subversion: Delete old .svn entries

If you want to delete the hidden .svn directories with versioning information you can use following simple “one liners”
For Micr$s$ft Wind$ws you can use:
 

FOR /F "tokens=*" %%G IN ('DIR /B /AD /S *.svn*') DO RMDIR /S /Q "%%G"
 


And for Linux distro’s:

 

find ./ -name ".svn" | xargs rm -Rf
Advertisements
Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

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

Google+ photo

You are commenting using your Google+ 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 )

w

Connecting to %s

%d bloggers like this: