Last Updated: December 26, 2018
·
677
· 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*
  NODES
Community 1
iOS 2
Javascript 3
os 9
web 1