删除日志为0的文件

find . -size 0 -name "*.log" -exec rm {} \;

 

posted @ 2016-01-19 20:48  格通  阅读(139)  评论(0编辑  收藏  举报