pgnextract: a Portable Game Notation (PGN) manipulator
Usage description for pgnextract ... Overview This page documents the free, opensource program pgnextract, which is a commandline program for searching, manipulating and formatting chess games recorded in the Portable ...