date "+%Y%m%d%H%M%S"
find /software/* -name "catalina.out" -o -name "*.log" ! -user root
定时任务自动清理日志
原文:http://blog.51cto.com/12250761/2307685