[mark] Linux下如何批量删除空文件

 

可以使用 xargs 命令来批量处理,代码如下: 

$ find . -name '*' -type f -size 0c | xargs rm -f 

 

posted @ 2016-03-21 17:38  噜噗  阅读(275)  评论(0编辑  收藏  举报