[Cc:ing Gert-Jan Hagenaars, since he implemented -d]

On Tue, Sep 23, 2008 at 09:24:07PM +0200, Paul Slootman wrote:
> > There's no rotation capability with -d or -D.  Perhaps this should be
> 
> Ugh :(
> Surely that wouldn't be too difficult to do? Something like:
> 
> ls -t1 $base.* | tail --lines=+cycles | xargs --no-run-if-empty rm
> 
> with some appropriate checks built in... Without rotation, I don't
> really see the point of savelog, I might as well roll my own in my
> scripts.

The checks would need to ensure that those files corresponded to the
date format, I imagine.

> > documented, and perhaps -c should cause a fatal error if -d or -D is
> > specified.
> 
> I fully agree, the current behaviour sucks; giving an error when a
> non-supported combination of options is given is the least that could be
> done. The documentation will of course also need to be fixed.

Well, I'll do those unless someone has a better idea.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to