ytapsg
Last Updated: February 25, 2016
·
512
· moiseevigor

.svn folder manipulation tips

Recursively delete .svn directories

$ rm -rf `find . -type d -name .svn`

Find files not under subversion control

$ svn status | grep -e ^?

How to remove all deleted files from repository

$ svn st | grep '^!' | awk '{print $2}' | xargs svn delete --force

grep excluding .svn dirs

$ grep -r 'content_graphic' assets/js --exclude=*\.svn*