From: Jan G. <jan...@zo...> - 2010-02-28 15:02:47
|
>> Why isn't there a command-line option (like --use), for using the >> running instance instead of opening a new instance. > > It's not implemented by a commandline switch but by an external helper > called sc_remote. Try if using this helper instead of the Scid main > program solves your problem already. No, unfortunately not, sc_remote opens another instance just like Scid. >> This could also be useful for downloading (twic) pgn files from the >> web. Adding them to the main games database can then be done by simply >> dragging the new opened pgn base in the database switcher. > > Depending on what you want to do you could automatise this further by > calling sc_import. Ie. you could e.g. fetch your games from twic using > wget/curl/whatever, unpack using unzip -j and then do something like Opera browser, I suppose most server-admins are smart enough to send their content automatically compressed (gz), so no need to zip it before. > sc_import twicdatabase TWIC123.pgn > > and only then fire up > > scid twicdatabase > > BTW: If you're fetching from TWIC automagically you might want to notice > that TWIC sometimes produces a bunch of doublette games for running > events. Deduping the base might be necessary: > > sc_spell twicdatabase /path/to/ratings.ssp > > HTH. > Great tips. Jan -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ |