Posted By

afiedler on 11/23/08


Tagged

Bash subversion


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

paulbooker
iloveitaly


Remove all "missing" files from a SVN working copy


 / Published in: Bash
 

If you accidentally deleted files from a subversion working copy, subversion marks them missing instead of deleted. This command will delete them correctly from the repository.

  1. svn rm $( svn status | sed -e '/^!/!d' -e 's/^!//' )

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: craiga on March 13, 2009

Doesn't work with file paths with whitespace.

Posted By: deepax11 on July 19, 2012

Great! It works!

You need to login to post a comment.