Skip to content

Instantly share code, notes, and snippets.

@mileszs
Created December 22, 2008 21:57
Show Gist options
  • Save mileszs/39140 to your computer and use it in GitHub Desktop.
Save mileszs/39140 to your computer and use it in GitHub Desktop.
# 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