how to delete .svn directory in not a working copy -



how to delete .svn directory in not a working copy -

i copyd directory working copy, found .svn directory in copyd directory. want delete .svn directory, tried rm -fr .svn, operation not permitted. so, how delete .svn directory? give thanks you

if says not permitted means there problem access rights. if can, run root.

also, svn keeps .svn directory in each project directory. so, you'll have like

sudo find -type d -name "*.svn" | xargs sudo rm -rf

note: both uses of sudo above needed when there problems access rights

why related access rights? see here.

mihai@fomalhault:/tmp$ sudo mkdir test [sudo] password mihai: mihai@fomalhault:/tmp$ rm -rf test/ rm: cannot remove directory `test': operation not permitted

running strace gives a

unlinkat(at_fdcwd, "test", at_removedir) = -1 eperm (operation not permitted)

and what's reported

svn

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -