Hi Loïc,
You can use Jon Kinsey's db_import.py script to batch import .sgf files to the relational database. 1. Start a terminal session of gnubg with "gnubg -t". On Windows I believe you would instead start the CLI version of gnubg.
2. At the (No game) prompt enter the command: "load python db_import.py"
3. The program will say "Directory containing files to import (enter- exit):" 4. Enter the directory path where your saved .sgf files are. If there is a space or spaces in the path do not escape them. For example type "/path to/my/sgf files" not "/path\ to/my/sgf\ files" If the folder is below your home directory do not use the tilde(~) character to represent home, use an absolute path. 5. After you press enter gnubg will display a list of files that it has found and say "XX files found". It will also ask you "Continue (y/ n):". 6. Enter "y" and it will proceed to display the final position of each match as it adds it to the database, finally saying "** Finished **".
                Take care and good luck,
                                        Myshkin LeVine







On Mon, Aug 17, 2009 at 5:46 PM, Loïc JALLU<[email protected]> wrote:

Hello Christian,
I have hundreds of matches analysed and saved as sgf files, do you know how
I can load all these matches into the database ?
I can't find any tutorial about this and I would really like to check my
trends after months of play...

Thanks
loïc



_______________________________________________
Bug-gnubg mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnubg

Reply via email to