功能参考资料 功能清理掉日志后, 往往留下一堆空的文件夹, 通过下面的命令找到并删除空文件夹. find /$BASE/logs/* -type d -empty -prune -exec rm -rf {} \; 参考资料