Difference between revisions of "divide"

From GeneWeb
Jump to: navigation, search
(Division (en) pass 1)
 
m (add manual category and navigation template)
Line 2: Line 2:
 
{{languages|divide}}
 
{{languages|divide}}
  
GeneWeb can maintain the separation of source files for a base across multiple files. When several source files are [[merge|merged]], GeneWeb records the information origin and is capable to return data to the proper file later.
+
GeneWeb can maintain the separation of source files for a base across multiple files. When several source files are [[merge]]d, GeneWeb records the information origin and is capable to return data to the proper file later.
  
 
== Recreating multiple source files from a base ==
 
== Recreating multiple source files from a base ==
Line 16: Line 16:
 
Modifications made to your base will be recorded in those fresh source files and will differ from the original files. If '''gwu''' produces some output, it means that it cannot associate some modification to any of the three files (typically, creation of a new family). In this case redirect this output to a fourth {{c|.gw}} source file and use it later to reconstruct your full base. You can also manually edit this new file into the others with a text editor.
 
Modifications made to your base will be recorded in those fresh source files and will differ from the original files. If '''gwu''' produces some output, it means that it cannot associate some modification to any of the three files (typically, creation of a new family). In this case redirect this output to a fourth {{c|.gw}} source file and use it later to reconstruct your full base. You can also manually edit this new file into the others with a text editor.
 
  gwu mergedbase -odir outdir > newdata.gw
 
  gwu mergedbase -odir outdir > newdata.gw
 +
 +
{{manual}}
 +
 +
[[Category:Manual]]

Revision as of 00:26, 17 April 2016

150px-Geographylogo svg.png Language: English • français

GeneWeb can maintain the separation of source files for a base across multiple files. When several source files are merged, GeneWeb records the information origin and is capable to return data to the proper file later.

Recreating multiple source files from a base

Assume you have created a base from three source files toto.gw, dupont.gw et titi.gw with the command:

gwc toto.gw -sep dupont.gw -sep titi.gw -o mergedbase

To save a modified base back to theses separate source files in a folder named outdir, use the command gwu :

gwu mergedbase -odir outdir

Ifoutdir does not exist, create it beforehand with mkdir outdir.

Modifications made to your base will be recorded in those fresh source files and will differ from the original files. If gwu produces some output, it means that it cannot associate some modification to any of the three files (typically, creation of a new family). In this case redirect this output to a fourth .gw source file and use it later to reconstruct your full base. You can also manually edit this new file into the others with a text editor.

gwu mergedbase -odir outdir > newdata.gw

GeneWeb Manual

Rembrandt Old Man Reading a Book.jpg

Use and manage genealogical databases

Technical annex