Here are a few little hints that may help speed up your SVN workflow if you are using SVN in a Linux environment. I found the first one on Snipplr and used that to create the second one for myself.
- Deleting multiple missing files (ie. the ones with a “!” next to them):
- svn delete $( svn status | sed -e '/^!/!d' -e 's/^!//' )
svn delete $( svn status | sed -e '/^!/!d' -e 's/^!//' )
- Adding multiple new files (ie. the ones with a “?” next to them):
- svn add $( svn status | sed -e '/^?/!d' -e 's/^?//' )
svn add $( svn status | sed -e '/^?/!d' -e 's/^?//' )
Short URL: http://glmn8.com/yvkpSZ







5 Responses to “SVN batch commands for adding or deleting multiple files (Linux)”