mplayer recursive play all files in directory

#!/bin/bash

find . -name "*.mp3" > playlist
mplayer -playlist playlist

One Comment

  1. tattie says:

    Wouldn’t find . -name “*.mp3” > x;mplayer -playlist x work just the same? but one line instead of four?

Leave a Reply