Created
November 17, 2009 12:48
-
-
Save hernan43/236882 to your computer and use it in GitHub Desktop.
This file contains 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 | |
export PSXDIR=$HOME/psx | |
if [ $1 -z -o $2 -n ]; | |
then | |
echo "\nERROR: Invalid usage.\n" | |
echo "\n Usage: psxrip [filename]\n" | |
echo "\n where filename is the desired name, minus extensions.\n" | |
fi | |
cd /usr/bin | |
./cdrdao read-cd --read-raw --datafile $PSXDIR/$1.bin --device 0,0,0 --driver generic-mmc-raw $PSXDIR/$1.cue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment