删除日志为0的文件

find . -size 0 -name "*.log" -exec rm {} ;
原文地址:https://www.cnblogs.com/getong/p/5143366.html