-
-
Save shauninman/722c3b23478219b40e83006529cd3368 to your computer and use it in GitHub Desktop.
Play all mp3 files in current directory with afplay (sorted properly on Catalina)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
find . -name '*.mp3' -print0 | sort -zn | xargs -0 -I '{}' afplay '{}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment