Linux Bulk Delete. SVN directory commands

Source: Internet
Author: User
Tags svn

In a Linux system, you can easily delete a batch with a single command. SVN folder


Shell Code

The code is as follows Copy Code

Find. -name. Svn-type d-exec rm-fr {};


Use shell command to delete. SVN directory

The code is as follows Copy Code


Find. -type d-name ". SVN" |xargs RM-RF

One of the biggest drawbacks of SVN versus git is that every folder has a hidden. SVN folder, and novice users will easily encounter errors in the Replication folder. You can't say git is better than SVN, at least you know how to deal with this SVN flaw.


After you execute the above command, all files for SVN are deleted.

This allows the files under the V1 branch to be copied under the V2 branch, and the file submitted under V2 will not be problematic.

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.