Dokładnie to tak (przykładowy listing)
Yo! Noid.nes
Yo Noid (U) .nes
Yo! Noid (U).nes
Yoshi s Cookie (U) .nes
Yoshi (U) .nes
Young Indiana Jones Chronicles The (U) .nes
Zanac (U) .nes
Zelda II - The Adventure of Link.nes
Zelda II - The Adventure of Link (U) .nes
Zelda II - The Adventure of Link (U) [!].nes
Zen - Intergalactic Ninja.nes
Zen - Intergalactic Ninja (U) .nes
Zombie Nation (U) .nes
Zombie Nation (U) [!].nes
Adventure Island 3.nes
AdventureIsland3.nes
-rw-r--r-- 1 pi pi 220170 Jan 3 2016 Insector X (Japan, Korea).zip
-rw-r--r-- 1 pi pi 220209 Jan 3 2016 Insector X (USA).zip
-rw-r--r-- 1 pi pi 773046 Jan 3 2016 World of Illusion Starring Mickey Mouse and Donald Duck (Europe).zip
-rw-r--r-- 1 pi pi 773069 Jan 3 2016 World of Illusion Starring Mickey Mouse and Donald Duck (USA, Korea).zip
-rw-r--r-- 1 pi pi 775292 Jan 3 2016 World of Illusion - Fushigi na Magic Box (Japan).zip
Pagemaster, The (Europe).zip
Pagemaster, The (USA) (Beta).zip
Pagemaster, The (USA).zip
powinno zwrócić
Yo! Noid.nes
Zelda II - The Adventure of Link.nes
Zen - Intergalactic Ninja.nes
Zombie Nation (U) .nes
Adventure Island 3.nes
-rw-r--r-- 1 pi pi 220209 Jan 3 2016 Insector X (USA).zip
-rw-r--r-- 1 pi pi 773046 Jan 3 2016 World of Illusion Starring Mickey Mouse and Donald Duck (Europe).zip
-rw-r--r-- 1 pi pi 775292 Jan 3 2016 World of Illusion - Fushigi na Magic Box (Japan).zip
Pagemaster, The (Europe).zip
uzylem fdupes -dN katalog/ ale to usunelo mi tylko pewna czesc reszte musze oskryptowac aby usunac.. ale poki co nie mam kompletnie pomyslu
czyli mozna przyjac ze patternj jest taki: nazwa ze spacjami tutaj przerwa jest ( albo . albo [ wtedy powinno sprawdzac nazwe czy nie wystepuje wiecej niz raz jesli tak to usuwa
pi@retropie:~/RetroPie/roms/megadrive $ ls |wc -l
1744
ls|sort|cut -d "." -f1|uniq|cut -d "(" -f1|uniq|wc -l
1267
ok 500 tytulow mniej tylko jak zrobic to poprawnie?