find /opt/tomcat/logs/ -mindepth 1 -mtime +5 -delete