Can we mass convert several .pgn files to several .bin files in one operation using pgn-extract when used with SCID or standalone?

Asked by Innocent Stalwart on 2021-02-14

Can we mass/batch convert several .pgn files to several .bin files in one operation using pgn-extract when used with SCID or standalone?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu pgn-extract Edit question
Assignee:
No assignee Edit question
Solved by:
Innocent Stalwart
Solved:
2021-02-15
Last query:
2021-02-15
Last reply:
2021-02-15

PGN files appear to be images. Is this right please? File extensions don't mean much in Linux

I got the solution to this problem from Ask Ubuntu Forum. .PNG is images .PGN is text files and .BIN is machine readable binary. Thanks. :)

Can you give the link please. It may help others.

Again, file extensions don't mean much in Linux so your "png is images" is wrong. Download a png file from the Web and query it in the terminal using the file command. Then change the extension to ".bin" then use the file command on the new file name.... What happens?

Here is the link to help everyone:
https://askubuntu.com/questions/1316314/how-can-we-batch-convert-chess-move-files-of-pgn-file-format-to-bin-file-forma

The .bin produced from .png will not be machine readable in terms of Chess.

It will. The OS will know its an image and open it as needed

Then it is great. We will have chess books out of PNG files according to you. Incredible.

You are thinking with your Windows head on where the file extension means something. In Linux it doesn't. Try the file command experiment I gave. Try it in Windows (you can use the file manager in Windows to see what a file is) then use the "file" command in Linux as I described earlier. You'll see that the file extension means absolutely nothing

Good luck.