Skip to content

Instantly share code, notes, and snippets.

@darcyliu
Created January 10, 2013 02:49
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 darcyliu/4498998 to your computer and use it in GitHub Desktop.
Save darcyliu/4498998 to your computer and use it in GitHub Desktop.
Delete Unversioned Files Under SVN
#Show Unversioned Files
svn status --no-ignore | grep '^\?' | sed 's/^\? //'
#Delete Unversioned Files
svn status --no-ignore | grep '^\?' | sed 's/^\? //' | xargs -Ixx rm -rf xx
#via http://www.guyrutenberg.com/2008/01/18/delee-unversioned-files-under-svn/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment