在Linux中递归删除某些文件

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了在Linux中递归删除某些文件相关的知识,希望对你有一定的参考价值。

Example code would remove all files/folders recursively starting from the current folder named file_name
  1. $ rm -rf `find . -type d -name file_name`

以上是关于在Linux中递归删除某些文件的主要内容,如果未能解决你的问题,请参考以下文章