Batch tagging through console

This code in post 5 should work for that - does it not work for you?