Created
November 16, 2012 17:17
-
-
Save tomraithel/4089124 to your computer and use it in GitHub Desktop.
SVN | BASH: Autmatically remove all missing files from SVN
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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