Skip to content

Instantly share code, notes, and snippets.

@nevack
Created May 24, 2020 00:44
Show Gist options
  • Save nevack/4a5846f0753d55bdb608682b8ea8c501 to your computer and use it in GitHub Desktop.
Save nevack/4a5846f0753d55bdb608682b8ea8c501 to your computer and use it in GitHub Desktop.
# Get MAC address
sudo defaults read /Library/Preferences/com.apple.Bluetooth.plist DeviceCache
# Blacklist it
sudo defaults write /Library/Preferences/com.apple.Bluetooth.plist IgnoredDevices -array-add '70-26-05-b1-18-5f'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment