I know we can send coins using the move, sendtoaddress and sendfrom commands from the console or commandline.
However these commands require to specify an "exact" amount, meaning you need to check the balance before you execute the commands.
Is it possible to just send all coins to an address or to oneself in the same wallet using just one command.
Hopefully someone understands what I"m talking about here.