blueutil is a command-line utility to control Bluetooth on Mac OS X. Its source is available and is public domain.

Usage

Download