#!/bin/bash ##################################################################### # Delete missing files from a Subversion working directory. # Obvi, use with caution. # # Sed command may need to be tweaked for your environment. # # Subversion /should/ tell you what files it's planning on deleting # and I suggest you review it before checking in. # # Author: Arthur Richards (awjrichards [at] gmail) # Copyright: None, just please do not use for evil. ##################################################################### for f in `svn status | grep ! | sed 's/^![ ]*//'` do svn del "$f" done