Ok, I see two ways: first is to add a full support for a directory mask semantic in rm command, or second is to add a masks support for rmdir. The first in my opinion is more correctly, and the rmdir command is redundant.
*/has different semantics here, than in a file mask.
*/<2016-01-01works and will delete even the old folders (but files too).
rmdirdoes not support masks. But you can use the
rmto delete directories too.
I need something like rm *.7z<2016-10-28