Bash script to divide a big pile of pgn games into smaller ones and print out information along the way