Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm using an old 99 blue and white G3 tower with OSX 10.3.9 on it and using Reason. After about 10 or more hours of leaving the program open, the log file fills up and on my relatively small partition, renders the program unable to save changes or do much of anything. I routinely delete the old log files when the computer is on for long periods of time but is there a shell script that can automate this process?

share|improve this question
add comment

1 Answer 1

You probably want logrotate, which is the standard unix-y way to do this. If it's not included on your install, you can get logrotate from DarwinPorts.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.