[nylug-talk] logrotate question

Kristian Erik Hermansen kristian.hermansen at gmail.com
Sat Feb 2 17:12:56 EST 2008


On Feb 2, 2008 2:09 PM, C Thala <cthala at gmail.com> wrote:
> I should add that the reason I don't want to do this by date is that
> the file creation process may stall for whatever reason. If we delete
> anything over X hours/days, we run into the issue where it will delete
> everything. I want the last N files to *always* be there.

http://cfaj.freeshell.org/shell/scripts/logrotate-sh
..with option -n 5
-- 
Kristian Erik Hermansen
"Know something about everything and everything about something."


More information about the nylug-talk mailing list