Creating a base gwc (gwc1, gwc2)
From GeneWeb
![]() |
English |
---|
The simple command gwc with no parameter, will create an empty base named a
(in folder a.gwb
) in which you can start entering families and persons.
Choosing between gwc, gwc1 ou gwc2 :
- gwc produces bases using an earlier data format :
- gwc1 is an alias for gwc ;
- gwc2 (existing since GeneWeb 5) creates a base using a newer format with separate files for each table, optimized for larger bases.
Usage: gwc|gwc1|gwc2 [options] [files] where [files] are a list of files: source files end with .gw object files end with .gwo and [options] are: -c Only compiling -o <file> Output database (default: a.gwb) -f Remove database if already existing -stats Print statistics -nc No consistency check -cg Compute consanguinity -sep Separate all persons in next file -sh <int> Shift all persons numbers in next files -ds <str> Set the source field for persons and families without source data -part <file> Particles file (default = predefined particles) -mem Save memory, but slower -nolock do not lock database. -nofail no failure in case of error. -q no verbose -v verbose
The base as defined by the -o
option must be in the same partition or device as the current folder, otherwise, gwc will terminate with the following error message:
Uncaught exception: Sys_error("Invalid cross-device link")
GeneWeb Manual
- Download and install GeneWeb program under GNU/Linux, Mac OS X, Microsoft Windows, FreeBSD; on Mac OS X, Linux or Windows using Docker; or in CGI mode behind a web server.
- Understand GeneWeb server, homonym, consanguinity.
Use and manage genealogical databases
- Import Gedcom
.ged
or GeneWeb.gw
files with gwsetup or in command-line. - Update datas (add/remove individuals and families), merge duplicates, type dates.
- Use wikitext syntax, macros, keyboard shortcuts.
- Clean, recover, rename, save, archive a database.
- Merge and split multiples databases.
Technical annex
- Personalize CSS, header and trailer, templates, lexicon and declension.
- Configuration file
.gwf
(for templm), wizard notes, passwords for friends/wizards and access restrictions to databases. - Add images in notes, further remarks for experts.