Command line to delete matching files and directories recursively

后端 未结 6 1658
-上瘾入骨i
-上瘾入骨i 2020-12-12 14:21

How can I recursively delete all files & directories that match a certain pattern? e.g. remove all the \".svn\" directories and the files they contain?

(Sadly DO

6条回答
  •  再見小時候
    2020-12-12 14:42

    If your files are in subversion, then doing an export from the repository will give you a directory tree with the .svn files and any other cruft removed.

提交回复
热议问题