Skip to content

Instantly share code, notes, and snippets.

@RhysC
Created February 23, 2011 16:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RhysC/840623 to your computer and use it in GitHub Desktop.
Save RhysC/840623 to your computer and use it in GitHub Desktop.
Recursively the svn folders from a path
function cleanSvn {
param ([string]$path)
write-host "Cleaning svn from: $path"
get-childitem $path -include .svn -recurse -force | remove-item -force -confirm:$false -recurse
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment