I have a collection of pgn files sorted and named according to the extended Scid openings classification. In total almost 6000 files.
What I want to do now is to extract a certain number of games from each file into a new file so that I get a collection of a certain number of games of each opening. So far I did not find a tool what can do that automatically. I can do that manually but I'd like to finish before Christmas 2011. If there is nothing around (what at best even runs in linux) I can write something myself but why reinvent the wheel?
Any hints?
tia
vp