Created
May 1, 2012 21:01
-
-
Save toshism/2571361 to your computer and use it in GitHub Desktop.
Simple shell script to play pls files on the command line
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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