Skip to content

Instantly share code, notes, and snippets.

@iamstoick
Created August 18, 2024 22:04
List the devices name connected to MacOS
$ ioreg -p IOUSB -w0 | sed 's/[^o]*o //; s/@.*$//' | grep -v '^Root.*

Example ouput:

Apple[REDACTED]
USB 2.0 BILLBOARD
Apple[REDACTED]
Traktor Kontrol S4
Apple[REDACTED]
Yubikey [REDACTED]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment