Hello Vince,
I'm planning on doing writing a script described here https://openacs.org/forums/message-view?message_id=937391 that would solve your problem.
But I'm wondering if you already wrote some code that would help me out. Please post your replies on the other thread https://openacs.org/forums/message-view?message_id=135708
Thanks!