Skip to content

Instantly share code, notes, and snippets.

@toshism
Created May 1, 2012 21:01
Show Gist options
  • Save toshism/2571361 to your computer and use it in GitHub Desktop.
Save toshism/2571361 to your computer and use it in GitHub Desktop.
Simple shell script to play pls files on the command line
#!/bin/bash
# you can of course change mpg123 to mplayer or whatever you prefer
cat "$1" | grep -e '^File1' | cut -f 2 -d = | xargs mpg123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment