----- "Marcos Trazzini" <mstrazzini@xxxxxxxxx> wrote: > > This is the error I get. > > error: /etc/logrotate.d/test:6 bad olddir path "/opt/`date > +%Y/%m/%d`" > (...) > Humm... I'm not sure how exactly logrotate might deal with shell > escape sequences, specially if it expects sh-alike syntax (not > bash-alike). Why don't you try to change the "/opt/`date +%Y/%m/%d`" > to "/opt/$(date +%Y/%m/%d)" and see what happens? > > -- > Marcos S. Trazzini => mstrazzini@xxxxxxxxx > Thanks, but it got the same error. > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list