Skip to main content

Posts

Showing posts from November, 2016

Playlist

While I was browsing I felt like listening to some music. Didn't have anything particular in mind. And wasn't in a state of mind to get into the trouble of skimming through the song collection and creating a playlist either. A random playlist was what I wanted. Linux does have feature rich music players like banshee or clementine which might have a feature to create automatic playlist. Mine is very basic. So I had to get it done with a single line of bash command. find Music -type f  | shuf -n 100 > playlist.m3u And there it was, a new playlist with 100 songs. Just like that. Btw this isn't to show my bash scripting proficiency 😉. Google did most of the work. I just consolidated it. Felt good though. And I would love to believe it wasn't laziness. Just didn't feel like doing it then. Like they say laziness is the mother of discovery.