Created
December 22, 2008 21:57
-
-
Save mileszs/39140 to your computer and use it in GitHub Desktop.
This file contains 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
# Remove All Missing Files | |
# By 'missing files', I mean files that are flagged with an exclamation point. | |
# Let's say you went through and renamed all of *.ejs files to *.js.erb files, | |
# to be compatible with Rails 2.0. Now, you have all of these freakin' missing | |
# files, and you don't want to go through and delete them from SVN by hand. Do | |
# this: | |
svn status | grep '\!' | awk '{print $2;}' | xargs svn rm | |
# Fucking awesome. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment