I tried to do this, but it looks like the --filter doesn't allow any additional options? I would like to keep my official build logs around for longer than my CI builds, but when I filter on class, I get:
$ cmtool deleteBuilds \
--filter "start_time < date_sub(curdate( ), interval 30 day) AND buildClassName NOT LIKE 'OFFICIAL'"
Unknown column 'buildClassName' in 'where clause'
Is this expected behavior? The documentation didn't describe this limitation, and the buildClassName filter does work when passed to the getBuilds subcommand.
I am using EA 6.6.2.