Map Channel

Need quick help!
I need to change all map channels for all bitmaps in base material and another Layers materials for example from map channel 1 to map channel 2 or 3 or 5 does not matter its always depends on situation is this possible to do this by controllers? scripts or another more automatically way, but not by hand in every bitmaps