Command to recursively remove all .svn directories on Windows

后端 未结 8 1092
死守一世寂寞
死守一世寂寞 2020-12-07 08:12

I have a directory with many sub-directories. In each folder there is a subversion folder (.svn).

Is there a command in windows that will go through each folder and

8条回答
  •  囚心锁ツ
    2020-12-07 08:39

    Sorry for being late to the party but here's another one in a single line:

    for /r %i in (.svn) do rmdir /s /q "%i"
    

提交回复
热议问题