mplayer recursive play all files in directory

#!/bin/bash

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

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