I've never done it from console, always from the QT wallet, but if you're open to that: Enable coin control and select all the address inputs, enter the main (or new) address you want the funds to consolidate to and send. Depending on inputs, you might have fees due to tx size.