Last Updated: February 25, 2016
·
622
· mloskot

Remove SVN unversioned files on Windows

The Subversion repository contains a very handy script svn-clean written by Simon Perreault in Perl which:

Wipes out unversioned files from SVN working copy

Here is equivalent Unix-like command based on utility programs from GnuWin32 package:

svn st --no-ignore | grep "[?I]" | awk "{print $2}" | sed "s/\\/\//g" | xargs rm -rf