The Rev2 makes this a bit harder than necessary, because the only message it has is the "program data dump", which transports a single patch and has the bank and the program place hard coded into it. So if you transfer a bank, you have in fact 128 program data dump messages (if I recall correctly, it is a while ago I wrote the librarian for the Rev2), which need to be modifed.
So I would recommend to use a software that supports this, there is for example the free Laser Mammoth website that will do this for you:
https://f0f7.net/fe/#/SysexLibrarianAlternatively, feel free to have a look at my Sysex librarian even if does not do bank reorganization yet, but rather nice patch organization with the help of the computer:
https://github.com/christofmuc/KnobKraft-ormAlso, commercial software can help you achive this I guess.