How to delete all .svn folders recursively

You might need to do this sometimes, tt’s as simple as this:

On Linux / MacOSX:

cd /path/to/the/folder

rm -rf `find . -name .svn`

On Windows

Create a .bat file (some name like: delete_svn.bat) at the root of the directory from where u want to delete all .svn subfolders

for /f “tokens=* delims=” %%i in (’dir /s /b /a:d *svn’) do (
rd /s /q “%%i”
)

Related posts:

Share

About number.0