First check out 'logrotate' and see if it will do what you are trying to accomplish.

>>> simeonuj at eetc.com 03/24/01 19:25 PM >>>
I am trying to setup a cron job to move logfiles.  Mostly just to change
the name.  I would like to change the name so that it ends with the date
it was changed.  How do I do this with a bash script?  Is there a
predifined command?

sim

_______________________________________________
tclug-list mailing list
tclug-list at mn-linux.org
https://mailman.mn-linux.org/mailman/listinfo/tclug-list