linux下递归删除指定后缀名的文件

以删除当前目录到所有子目录下的后缀名为rej的文件为例:

find . -name "*.rej" |xargs rm -f

posted @ 2018-11-02 15:52  Jello  阅读(3884)  评论(0编辑  收藏  举报