Skip to content

Instantly share code, notes, and snippets.

@tomraithel
Created November 16, 2012 17:17
Show Gist options
  • Save tomraithel/4089124 to your computer and use it in GitHub Desktop.
Save tomraithel/4089124 to your computer and use it in GitHub Desktop.
SVN | BASH: Autmatically remove all missing files from SVN
# to add it as alias use:
# alias svn_remove='svn status | sed -Ee '\''/^!/!d'\'' -e '\''s/^! *(.*)/"\1"/g'\'' | xargs -L1 svn rm'
svn status | sed -Ee '/^!/!d' -e 's/^! *(.*)/"\1"/g' | xargs -L1 svn rm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment