Difference between revisions of "divide"

From GeneWeb
Jump to: navigation, search
(Division (en) pass 1)
 
m (A2 moved page Divide to divide: minuscule)
 
(3 intermediate revisions by 2 users not shown)
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 9: Line 9:
 
  gwc toto.gw -sep dupont.gw -sep titi.gw -o mergedbase
 
  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 {{c|outdir}}, use the [[man/fr#Exporting GW file (gwu)|command '''gwu''']] :
+
To save a modified base back to theses separate source files in a folder named {{c|outdir}}, use the command [[Gwu|'''gwu''']] :
 
  gwu mergedbase -odir outdir
 
  gwu mergedbase -odir outdir
  
 
If{{c|outdir}} does not exist, create it beforehand with {{c|mkdir outdir}}.
 
If{{c|outdir}} does not exist, create it beforehand with {{c|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 {{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. If '''gwu''' produces some output, it means that it cannot associate some modification to any of the original files (typically, creation of a new family). In this case redirect this output to a new additionnal {{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, provided you follow the [[GWformat]].
 
  gwu mergedbase -odir outdir > newdata.gw
 
  gwu mergedbase -odir outdir > newdata.gw
 +
 +
{{manual}}
 +
 +
[[Category:Manual]]

Latest revision as of 13:06, 22 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. If gwu produces some output, it means that it cannot associate some modification to any of the original files (typically, creation of a new family). In this case redirect this output to a new additionnal .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, provided you follow the GWformat.

gwu mergedbase -odir outdir > newdata.gw

GeneWeb Manual

Rembrandt Old Man Reading a Book.jpg

Use and manage genealogical databases

Technical annex