/ Published in: Python
URL: removeSvn
Removes every .svn recursively
Expand |
Embed | Plain Text
#!/usr/bin/python import os import sys top = sys.argv[1] for root, dirs, files in os.walk(top): if '.svn' in dirs: os.system('rm -rf '+os.path.join(root,'.svn'))
Comments
Subscribe to comments
You need to login to post a comment.

svn export {from} {to} does the same thing.