DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Playlist Generator

  • submit to reddit
        Bash script to generate a playlist with all your mp3s and oggs in.

rm ~/Desktop/playlist.m3u
find ~/music/ -iname "*.mp3" -print >> ~/Desktop/playlist.m3u
find ~/music/ -iname "*.ogg" -print >> ~/Desktop/playlist.m3u