Sunday, December 20, 2009


It was only today that I probably recognized the power of this command. For the first time in my life I combined this with "find" to play songs from a folder. Why is it interesting? Because, mostly the song name will contain spaces.

find ./ | grep mp3 | ls -Q | xargs mplayer

The above command will play all the mp3 songs in the current directory tree!