Skip to content

Instantly share code, notes, and snippets.

@trickart
Created November 7, 2016 07:51
Show Gist options
  • Save trickart/58ccefd245b73d44a58cc0972388eebe to your computer and use it in GitHub Desktop.
Save trickart/58ccefd245b73d44a58cc0972388eebe to your computer and use it in GitHub Desktop.
make current directory music playlist
#!/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