find /opt/tomcat/logs/ -type f -mtime +10 -delete
10 is the no of days older than to delete
Modified on: Wed, 9 Aug, 2023 at 11:27 AM
find /opt/tomcat/logs/ -type f -mtime +10 -delete
10 is the no of days older than to delete
Did you find it helpful? Yes No
Send feedback