Skip to content

Instantly share code, notes, and snippets.

@felipem775
Created November 23, 2017 21:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save felipem775/dd11ea71c357baeb19ea93a6f4a1168d to your computer and use it in GitHub Desktop.
Save felipem775/dd11ea71c357baeb19ea93a6f4a1168d to your computer and use it in GitHub Desktop.
Crear un directorio de roms solo con las de neogeo
$ wget https://raw.githubusercontent.com/libretro/fbalpha/master/gamelist.txt
$ cat gamelist.txt |grep "Neo Geo" | sort | awk '{print $2;}' > roms-neogeo.txt
$ xargs -0 -I {} -n 1 ln roms/{}.zip roms-neogeo/ < <(tr \\n \\0 < roms-neogeo.txt )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment