Ran into a unique problem with one of my clients. They use Subversion (SVN) for source control.Their site is mainly flat HTML files (once compiled) and media files.Because of IT governance restrictions, I can deploy ONLY the files that have been add/changed since the last deployment. This seems pretty simple, right? Wrong. SVN doesn’t give you an easy way to export ONLY the files that...
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"