How to remove all .svn directories from my application directories

前端 未结 11 2609
臣服心动
臣服心动 2020-12-04 04:26

One of the missions of an export tool I have in my application, is to clean all .svn directories from my application directory tree. I am looking for a recursiv

11条回答
  •  心在旅途
    2020-12-04 05:02

    Try this:

    find . -name .svn -exec rm -rf '{}' \;
    

    Before running a command like that, I often like to run this first:

    find . -name .svn -exec ls '{}' \;
    

提交回复
热议问题