Created
November 7, 2016 07:51
-
-
Save trickart/58ccefd245b73d44a58cc0972388eebe to your computer and use it in GitHub Desktop.
make current directory music playlist
This file contains hidden or 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 "*.m4a" -o -name "*.mp3" -o -name "*.ogg" \) \ | |
| sort | sed -e 's/\.\///g' > list.m3u |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment