Cookie Consent by Free Privacy Policy Generator Subversion commands | Igor Moiseev

Igor Moiseev Applied mathematician, AI Enthusiast

Subversion commandsedit

Delete recursively the .svn directories

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

Find files not under the version control

$ svn status | grep -e ^?

How to remove all deleted files from repository

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

grep on folder with excluding of .svn dirs

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