Ron Sparks Solution Architect, Author, Poet

Removing all .svn folders from a folder via Windows batch

R

I needed to delete all .svn subversion folders and the files within them and did not want to take the time to do it manually. This little command prompt script will recurse a folder and delete all folders names “.svn” and all the files within.

for /d /r . %d in (.svn) do @if exist "%d" rd /s/q "%d"

About the author

Ron Sparks

Ron Sparks is a technology professional, science fiction and fantasy author and poet living in Zurich, Switzerland. His latest book "ONI: Satellite Earth Series Book 1" is available on Amazon.com.

Add Comment

By Ron Sparks
Ron Sparks Solution Architect, Author, Poet

Ron Sparks

Ron Sparks is a technology professional, science fiction and fantasy author and poet living in Zurich, Switzerland. His latest book "ONI: Satellite Earth Series Book 1" is available on Amazon.com.

Welcome

A man of many passions, I lay claim to a myriad of interests and hobbies. Among them, I am an amateur astronomer, an avid motorcycle rider, a whiskey aficionado, a (poor) surfer, a scuba diver, a martial artist, a student of philosophy, a proponent of critical thinking, a technologist, an entrepreneur, a cancer survivor, and I harbor a lifelong love of science fiction and fantasy. Feel free to strike up a conversation on the social networks below.

Select a Category to Browse

Follow me on Twitter