1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#/bin/bash FILES=`svn status | sed -e '/^[^!]/d s/^!// s/^ *// s/ /\\ /'` for FL in ${FILES} do echo ${FL} done if [ "${1}" = "do" ]; then if [ "x${FILES}" != "x" ]; then for FL in ${FILES} do svn del "${FL}" done fi fi