Hello,
Now I've finally managed to build Scid, I would like to put it to work.
Every time I play someone on FICs the game is emailed to me afterwards, I use
as my mailer Kmail and I have a specific folder that my games are filtered
into.
I can locate those games with the command in bash 'locate chessgames'
the games come back looking like this :-
[peter@localhost ~]$ locate chessgames
/home/peter/.kde4/share/apps/kmail/mail/.inbox.directory/.me.directory/.chessgames.index
/home/peter/.kde4/share/apps/kmail/mail/.inbox.directory/.me.directory/.chessgames.index.ids
/home/peter/.kde4/share/apps/kmail/mail/.inbox.directory/.me.directory/chessgames
/home/peter/.kde4/share/apps/kmail/mail/.inbox.directory/.me.directory/chessgames/cur
/home/peter/.kde4/share/apps/kmail/mail/.inbox.directory/.me.directory/chessgames/new
/home/peter/.kde4/share/apps/kmail/mail/.inbox.directory/.me.directory/chessgames/tmp
/home/peter/.kde4/share/apps/kmail/mail/.inbox.directory/.me.directory/chessgames/cur/1271455617.2012.YSIMk:2,S
/home/peter/.kde4/share/apps/kmail/mail/.inbox.directory/.me.directory/chessgames/cur/1271455629.2012.RSwjW:2,S
/home/peter/.kde4/share/apps/kmail/mail/.inbox.directory/.me.directory/chessgames/cur/1271455631.2012.DtsxD:2,S
One file looks like this:-
[peter@localhost ~]$ less
/home/peter/.kde4/share/apps/kmail/mail/.inbox.directory/.me.directory/chessgames/cur/1271455629.2012.RSwjW:2,S
Return-Path: <chesstal.freechess.org>
Received: from aamtain03-winn.ispmail.ntl.com ([81.103.221.35])
by mtain04-winn.ispmail.ntl.com
(InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP
id <20100415194116.HYCX10300.mtain04-winn.ispmail.ntl.com@aamtain03-
winn.ispmail.ntl.com>
for <peterturlandntlworld.com>; Thu, 15 Apr 2010 20:41:16 +0100
Received: from know-smtpbemta-3.server.virginmedia.net ([62.254.123.131])
by aamtain03-winn.ispmail.ntl.com
(InterMail vG.3.00.04.00 201-2196-133-20080908) with ESMTP
id <20100415194116.HJLC8060.aamtain03-winn.ispmail.ntl.comknow-
smtpbemta-3.server.virginmedia.net>
for <peterturlandntlworld.com>; Thu, 15 Apr 2010 20:41:16 +0100
Received: from [10.172.4.69] (helo=know-smtplm2rtr-5)
by know-smtpbemta-3.server.virginmedia.net with smtp (Exim 4.63)
(envelope-from <ch...@tal.freechess.org>)
id 1O2Uw8-0002hk-4i
for peterturlandntlworld.com; Thu, 15 Apr 2010 20:41:16 +0100
Received: from [62.193.206.17] (helo=webmail17.amenworld.com)
by know-smtpfemta-8.server.virginmedia.net with smtp (Exim 4.63)
(envelope-from <chesstal.freechess.org>)
id 1O2Uw8-00048u-0Y
for peterturlandntlworld.com; Thu, 15 Apr 2010 20:41:16 +0100
Received: (qmail 26090 invoked by uid 1001); 15 Apr 2010 19:41:15 -0000
Delivered-To: dollyknot.com-pe...@dollyknot.com
Received: (qmail 26086 invoked from network); 15 Apr 2010 19:41:15 -0000
Received: from unknown (HELO av4.amenworld.com) (62.193.206.43)
by webmail17.amenworld.com with SMTP; 15 Apr 2010 19:41:15 -0000
Received: from freechess.org ([69.36.243.189])
by av4.amenworld.com with AMEN
id 5vh81e00845tq5x04vh9v6; Thu, 15 Apr 2010 21:41:10 +0200
Received: from tal.freechess.org (tal.freechess.org [127.0.0.1])
by freechess.org (8.13.8/8.13.8) with ESMTP id o3FJfBXw019640
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
for <peterdollyknot.com>; Thu, 15 Apr 2010 12:41:11 -0700
Received: (from chess@localhost)
by tal.freechess.org (8.13.8/8.13.8/Submit) id o3FJfBwa019638;
Thu, 15 Apr 2010 12:41:11 -0700
Date: Thu, 15 Apr 2010 12:41:11 -0700
Message-Id: <201004151941.o3fjfbwa019...@tal.freechess.org>
From: FICS <chessfreechess.org>
To: Korzybski <peterdollyknot.com>
Subject: FICS game report susjan vs Korzybski
X-Envelope-To: peterturlandntlworld.com
X-Cloudmark-Analysis: v=1.1 cv=cdeXpZb8LEyXzp2AYzO9rUdQILkkUL3NqpUC6zMwMtA=
c=1 sm=0 a=VphdPIyG4kEA:10 a=8D_Nw1s4lVOUf4KLB6MA:9
a=xkrWPE_YZNoLuWroljPuUEeOjhoA:4 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117
Status: RO
X-Status: R
X-KMail-EncryptionState: N
X-KMail-SignatureState: N
X-KMail-MDN-Sent:
[Event "FICS rated standard game"]
[Site "FICS, San Jose, California USA"]
[Date "2010.04.15"]
[Time "12:15:40"]
[Round "-"]
[White "susjan"]
[Black "Korzybski"]
[WhiteElo "1231"]
[BlackElo "1468"]
[TimeControl "1800+0"]
[Mode "ICS"]
[Result "0-1"]
1. d4 Nf6 2. c4 e5 3. e3 exd4 4. exd4 Bb4+ 5. Bd2 Bxd2+ 6. Qxd2 O-O 7. Nc3
Re8+ 8. Nge2 d5 9. c5 Nc6 10. a3 Bf5 11. h3 Ne4 12. Qf4 Bg6 13. Nxe4 Rxe4
14. Qg3 Nxd4 15. Kd1 Qe7 16. Nxd4 Re1+ 17. Kd2 Rxa1 18. h4 Qe1#
{White checkmated} 0-1
So what I would appreciate is a script that can concatenate all the individual
email games together that are in my Kmail chessgames directory and save them
in one file in a suitable format to be able to put them into a Scid database.
I have removed all the '@'s just in case :)
Regards,
Peter.
http://dollyknot.com
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users