Delete all. SVN folders (or CVS folders) in the project)

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.