Here's a Linux script to remove log files older than seven days:

   find /var/tomcat5/logs -daystart -mtime +7 -type f -exec rm '{}' \;

Just in case anyone might find it useful.

-Terence Bandoian

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to