How to remove all .svn directories from my application directories

前端 未结 11 2603
臣服心动
臣服心动 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 04:58

    If you don't like to see a lot of

    find: `./.svn': No such file or directory
    

    warnings, then use the -depth switch:

    find . -depth -name .svn -exec rm -fr {} \;
    

提交回复
热议问题