Peter Horst wrote:
> I want to import a large number (~100) of individual pgn files into a 
> Scid database. I'm under the impression that I can only import 4 at a 
> time. Is this correct? If not, what is the correct procedure?  Worse 
> comes to worst, I can always stitch the pgn files together with a shell 
> script or something.
>
> Thanks.
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Scid-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scid-users
>
>   
How did you come to this impression?

Even if sc_import only takes 4 args (I have no idea if it does), and 
does not allow stdin, xargs is your friend.

echo *.pgn | xargs -n 1 sc_import base

I would of course checked out the natural options first

sc_import base *.pgn

or

cat *.pgn | sc_import base (perhaps with a dash (-) as an argumetn, or 
even /dev/stdin if your OS supports it).

A limit of 4 seems ludicruous, at best...

Niklas

PS Of course I assume you are not trying to do this in the GUI, it's 
hardly the purpose of the GUI, if you ask me.
      And, I assume you're not using Windows as well, as you write 
"shell script", but even if you were, you could
      easily install cygwin, and ease the burden the OS put upon you a 
fair deal.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Scid-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to