Transfer ZEC from transparent to private addresses in a wallet

Sorry if this is a very noob question or if it was already answered using terminology I haven’t become acquainted to yet. I’m running the zcash Debian package on Ubuntu have have some funds that were sent to a transparent address. Running zcash-cli z_gettotalbalance confirms the amount. I created a z address and would like to make a z to z transaction but my funds are in my transparent balance (wallet?) and I’d like to transfer those funds to my z balance so I can transfer ZEC to another person’s z address. How do I do that?

You can use

./src/zcash-cli z_sendmany "taddress16ahsg2435" "[{\"amount\": 0.8, \"address\": \"zaddress1235gshs3456\"}]"

Just be sure to change the two addresses and the amount in that command line.

If you’re not sure which transparent address has your funds you can use listreceivedbyaddress

There are other examples in the official Zcash guide: https://github.com/zcash/zcash/wiki/1.0-User-Guide