#!/bin/sh find /usr/local/blackboard/logs -name “*.txt” -mtime +2 -exec gzip -9 {} \; find /usr/local/blackboard/apps/tomcat/logs -name “*.txt” -mtime +2 -exec gzip -9 {} \; find /usr/local/blackboard/apps/tomcat/logs -name “*.log” -mtime +2 -exec gzip -9 {} \; find /usr/local/blackboard/logs/httpd -name “access_log.*” -mtime +2 -exec gzip -9 {} \; I’m sure there are fancier ways to do this, but this works, so I don’t care. I have some commented lines that will also move the compressed files to an NFS share, so that they are not kept on the individual app servers. That will be implemented once I’ve tested the process.]]>