User Tools

Site Tools


en:user:gs2_to_gs3

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
en:user:gs2_to_gs3 [2026/04/30 02:32] – [Mapping gs2 links into gs3 versions] kjdonen:user:gs2_to_gs3 [2026/04/30 02:33] (current) – [Extract ids and add as metadata] kjdon
Line 271: Line 271:
 If you no longer have the archives folder in the Greenstone 2 collection, then your task is a bit more complicated.  If you no longer have the archives folder in the Greenstone 2 collection, then your task is a bit more complicated. 
 What might work is: What might work is:
 +
 1. run db2txt.pl over the gdbm metadata database in the greenstone 2 collection and save to a file, eg: db2txt collect/demo/index/text/demo.gdb > db.out (If the Db is .jdb use jdb2txt.pl instead) 1. run db2txt.pl over the gdbm metadata database in the greenstone 2 collection and save to a file, eg: db2txt collect/demo/index/text/demo.gdb > db.out (If the Db is .jdb use jdb2txt.pl instead)
 +
 2. Write a script to extract filenames and identifiers from the output. Probably into a CSV file would be easiest: 2. Write a script to extract filenames and identifiers from the output. Probably into a CSV file would be easiest:
 <code> <code>
en/user/gs2_to_gs3.1777516350.txt.gz · Last modified: 2026/04/30 02:32 by kjdon