Created
June 21, 2017 14:19
-
-
Save yisraeldov/44e680025c400f708c4ff0197c7b5b36 to your computer and use it in GitHub Desktop.
Make a playlist when scanning doesn't work.
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
playlist=/home/<user>/.config/retroarch/playlists/Sony - PlayStation.lpl | |
find /home/<user>/roms/Sony\ PlayStation/ -iname *.cue | while read f; do | |
echo $f; | |
echo $f >> "$playlist" ; | |
echo `basename "$f"` >> "$playlist"; | |
echo DETECT >> "$playlist" ; | |
echo DETECT >> "$playlist" ; | |
echo `crc32 "$f"`"|crc" >> "$playlist"; | |
echo `basename "$playlist"` >> "$playlist"; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment