grep and svn rm and svn add files
Posted: July 8th, 2010 | Author: admin | Filed under: Code | No Comments »Very handy for auto-commits:
To remove files that went away and are identified by a ‘!’, use:
svn status | grep ^\! | cut -c8- | xargs svn rm
To add files svn doesn’t know about:
svn status | grep ^\? | cut -c8- | xargs svn add