I guess they took off this function, so any alternative?
what i'm looking to do is exactly like this
sweepprivkey privkey minconfirms [destinationtype destination] [fee] [amount changeaddress]
Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It only takes a minute to sign up.Sign up to join this community
Nobody "took off" this function, it was only proposed, but was never actually added to Bitcoin Core.
Instead, you can use
importprivkey and then send BTC to a new address: