Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save canabady/5b7e51880087f4610c742e9c378168f3 to your computer and use it in GitHub Desktop.
Save canabady/5b7e51880087f4610c742e9c378168f3 to your computer and use it in GitHub Desktop.
mplayer: play files recursively in a directory
MPlayer play files recursively in a directory.
I wanted to have my files played in alphabetical order and only avi files (since a couple .srt subtitle files were in there…), so I came up with this :
mplayer -playlist <(find "$PWD" -name "*.avi" -type f | sort)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment