Created
December 29, 2013 19:15
-
-
Save feribg/8173730 to your computer and use it in GitHub Desktop.
Simple snippet to generate m3u files from all mp3 files in a folder
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
find . -name '*.mp3' -execdir bash -c 'file="{}"; printf "%s\n" "${file##*/}" >> "${PWD##*/}.m3u"' \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment