On 2010-04-06, frantisek holop <[email protected]> wrote: > hmm, on Tue, Apr 06, 2010 at 03:01:17PM +0200, Bret S. Lambert said that >> I'm still not seeing what you're really getting, here; you're >> just pushing that spillover from one end to another, which >> are just as easily rationalized as "the casualties of log >> rotation." > > i get the correct name/number of the month...
mv logfile logfile.$(date -r $(($(date +%s)-600)) +%Y-%m-%d)

