A Chess forum. ChessBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » ChessBanter forum » Chess Newsgroups » rec.games.chess.misc (Chess General)
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Tags: , ,

Combining pgn files?



 
 
Thread Tools Display Modes
  #1  
Old January 13th 04, 04:04 AM
Asm-C-DrScheme-Math-Electronics
external usenet poster
 
Posts: n/a
Default Combining pgn files?

Try the unix "cat" command. An available ".exe" for Win32 is available at
http://www.weihenstephan.de/~syring/win32/UnxUtils.html

Regards,
JeffS

"justinp" wrote in message
...
Anyone know how to combine multiple pgn files into one file please?

Thanks!





Ads
  #2  
Old January 13th 04, 04:30 AM
Gregory Topov
external usenet poster
 
Posts: n/a
Default Combining pgn files?

"justinp" wrote in message
...
Anyone know how to combine multiple pgn files into one file please?

Thanks!

How many do you want to combine? I would just cut and paste them with a
text editor like Windows Notepad.

--
Gregory Topov
---------------------------------------------------------------------
"I don't necessarily agree with everything I say." - Marshall McLuhan


  #3  
Old January 13th 04, 09:21 AM
Rob van Aurich
external usenet poster
 
Posts: n/a
Default Combining pgn files?

CtrlA CtrlC CtrlV
pgn files are only ascii files.
Save as plain text file afterwards.


justinp wrote:

Anyone know how to combine multiple pgn files into one file please? Thanks!





--
Groeten
van Rob
---
There are only two true Beliefs:
Belief in oneself and belief in each other.
All other beliefs are only superstitions.
[Aurichius]

  #4  
Old January 13th 04, 12:44 PM
Enzo
external usenet poster
 
Posts: n/a
Default Combining pgn files?

Hello
If you have many PGN files, you can use file *.bat as I give you an example
You need the program PKzip dos, It run fine under Windows XP
Regards
Vincent


"justinp" a écrit dans le message de news:
...
Anyone know how to combine multiple pgn files into one file please?

Thanks!






  #5  
Old January 13th 04, 01:06 PM
David Richerby
external usenet poster
 
Posts: n/a
Default Combining pgn files?

justinp wrote:
Anyone know how to combine multiple pgn files into one file please?


In Unix/Linux: cat input1.pgn input2.pgn input3.pgn output.pgn

In DOS/Windows: copy input1.pgn + input 2.pgn + input3.pgn output.pgn

I don't know about Macs but you could certainly cut and paste with a text
editor.


Dave.

--
David Richerby Disposable Laptop Painting (TM):
www.chiark.greenend.org.uk/~davidr/ it's like a Renaissance masterpiece
that you can put on your lap but you
never have to clean it!
  #6  
Old January 13th 04, 01:27 PM
David Richerby
external usenet poster
 
Posts: n/a
Default Combining pgn files?

Enzo wrote:
You need the program PKzip dos, It run fine under Windows XP


You don't need PKZip to do this at all.


Dave.

--
David Richerby Addictive Sushi (TM): it's like a raw
www.chiark.greenend.org.uk/~davidr/ fish but you can never put it down!
  #7  
Old January 13th 04, 01:29 PM
David Richerby
external usenet poster
 
Posts: n/a
Default Combining pgn files?

David Richerby wrote:
In DOS/Windows: copy input1.pgn + input 2.pgn + input3.pgn output.pgn


Actually, that works just as well under XP without the plus signs.
Perhaps they were required in some older version of DOS or perhaps I've
misremembered.


Dave.

--
David Richerby Revolting Sword (TM): it's like a
www.chiark.greenend.org.uk/~davidr/ razor-sharp blade but it'll turn
your stomach!
  #8  
Old January 13th 04, 02:31 PM
Enzo
external usenet poster
 
Posts: n/a
Default Combining pgn files?

Yes, you are right, I don't need PKZip to do this at all.
I was thinking about an other *.bat for opening and grouping a batch of
files PGN zipped
I beg you pardon
Regards


"David Richerby" a écrit dans le message de
news: ...
Enzo wrote:
You need the program PKzip dos, It run fine under Windows XP


You don't need PKZip to do this at all.


Dave.

--
David Richerby Addictive Sushi (TM): it's like a

raw
www.chiark.greenend.org.uk/~davidr/ fish but you can never put it

down!


  #9  
Old January 13th 04, 02:36 PM
Enzo
external usenet poster
 
Posts: n/a
Default Combining pgn files?

Here is the content of *.bat

REM Copy all files type PGN in the folder: C:\tmp0
REM in one file named group.pgn in the same folder
COPY c:\tmp0\*.pgn c:\tmp0\Group.pgn
exit

We have not to name files to group


"David Richerby" a écrit dans le message de
news: ...
David Richerby wrote:
In DOS/Windows: copy input1.pgn + input 2.pgn + input3.pgn output.pgn


Actually, that works just as well under XP without the plus signs.
Perhaps they were required in some older version of DOS or perhaps I've
misremembered.


Dave.

--
David Richerby Revolting Sword (TM): it's

like a
www.chiark.greenend.org.uk/~davidr/ razor-sharp blade but it'll

turn
your stomach!



  #10  
Old January 13th 04, 07:24 PM
TR
external usenet poster
 
Posts: n/a
Default Combining pgn files?

Actually, Mac OS X *is* Unix, so cat works fine. Just open a window in
the Terminal application and type the command as below. It's been too
long since I used OS 9 and below to remmber, but I think you might
have to download BBedit lite or something and use that.

David Richerby wrote in message ...
justinp wrote:
Anyone know how to combine multiple pgn files into one file please?


In Unix/Linux: cat input1.pgn input2.pgn input3.pgn output.pgn

In DOS/Windows: copy input1.pgn + input 2.pgn + input3.pgn output.pgn

I don't know about Macs but you could certainly cut and paste with a text
editor.


Dave.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
too many EMD files for the folder? jake johnson rec.games.chess.computer (Computer Chess) 3 July 10th 04 07:18 AM
Old Bookup Files? Gollum rec.games.chess.computer (Computer Chess) 10 June 16th 04 09:32 AM
Old Bookup Files?? Gollum rec.games.chess.analysis (Chess Analysis) 2 June 7th 04 01:57 PM
Chess books - why no PGN files made available online? Dr. David Kirkby rec.games.chess.computer (Computer Chess) 9 May 7th 04 04:19 AM
what does sanity check error on tablebase files mean? Jan rec.games.chess.computer (Computer Chess) 0 October 8th 03 10:50 PM


All times are GMT +1. The time now is 06:18 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.Content Relevant URLs by vBSEO 2.4.0
Copyright ©2004-2008 ChessBanter, part of the NewsgroupBanter project.
The comments are property of their posters.
Mortgage Calculator - Advertising - Loans - Unblock Myspace - Camilo jose cela