From Electrum's documentation, the following should sweep all private keys to a new address:
electrum listaddresses --funded | electrum getprivatekeys - | jq 'map(.)' | electrum sweep - [destination address]
Is there any way to enter a WIF key into the command line to specify it directly? The address I'm wanting to sweep isn't in my Electrum.
For example, let's say this is the private key (never use this):
And this is the address I want the coins swept to:
Assume that neither the sending nor receiving address is in my Electrum wallet.
What would I need to enter in Electrum command-line?