Skip to content

Instantly share code, notes, and snippets.

@jesperronn
Created April 11, 2012 13:22
Show Gist options
  • Select an option

  • Save jesperronn/2359264 to your computer and use it in GitHub Desktop.

Select an option

Save jesperronn/2359264 to your computer and use it in GitHub Desktop.
find and remove modified files within svn tree
#find modified files within svn tree
svn st | grep ? | sed -e"s/^\?//g"
#when satisfied, remove them with rm:
svn st | grep ? | sed -e"s/^\?//g" | xargs rm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment