How to select the Bluetooth device using command line? I have two Bluetooth trackpads, one at work and one at home. Is there a way to select one or the other from the command line. My current workflow is going up to the bluetooth menu, hovering over to home or office and clicking on Connect, but I wish I could do this from the terminal.
This open-source CLI app BluetoothConnector seems like a good solution. I tested and confirmed it's working as recently as macOS 10.15.2.

It's available on GitHub as well as Homebrew:

$ brew install bluetoothconnector
$ BluetoothConnector --connect 00-11-22-33-44-55 --notify
$ BluetoothConnector --disconnect 00-11-22-33-44-55