Skip to content

Instantly share code, notes, and snippets.

@ddneat
Last active October 9, 2020 09:01
Show Gist options
  • Save ddneat/8190495 to your computer and use it in GitHub Desktop.
Save ddneat/8190495 to your computer and use it in GitHub Desktop.
listen to random music with afplay
brew install gshuf
find *.mp3 | gshuf -n 1 | tr '\0\n' '\n\0' | xargs -0 afplay
@secwang
Copy link

secwang commented Aug 12, 2015

very useful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment