How can I get `find` to ignore .svn directories?

后端 未结 20 1537
迷失自我
迷失自我 2020-12-04 05:05

I often use the find command to search through source code, delete files, whatever. Annoyingly, because Subversion stores duplicates of each file in its .

20条回答
  •  广开言路
    2020-12-04 05:40

    Why dont you pipe your command with grep which is easily understandable:

    your find command| grep -v '\.svn'
    

提交回复
热议问题