When your project is managed using SVN, An. SVN folder is added to each folder of the project. If you want a clean ProjectSource codeTo delete the. SVN files in each folder. The batch processing command in Windows allows us to conveniently complete the task.
1. Run the following command in the DOS window:
For/r <path of your project> % I in (. SVN) do RD/S/Q % I
2. Add this operation to the right-click menu
Create a text file named kill-svn-folders.reg (extension changed from TXT to Reg) with the following content:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE/software/classes/folder/Shell/deletesvn]
@ = "Delete SVN Folders"
[HKEY_LOCAL_MACHINE/software/classes/folder/Shell/deletesvn/command]
@ = "Cmd.exe
/C/"title removing SVN folders in % 1 & Color 9A &&
For/R/"% 1/" % F in (. SVN) do RD/S/Q/"% F /"/""
After saving the file, double-click the reg file. After successful, right-click on each folder and there will be a "delete SVN Folders" option. After clicking it, You can delete all. SVN files under this file.
Source: http://vinter.javaeye.com/blog/328125