gedcom2html

command
v36.2.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2019 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Gedcom2html renders a GEDCOM file into HTML pages that can be shared and published easily.

Usage

gedcom2html -gedcom file.ged

You can view the full list of options using:

gedcom2html -help

Example

You can see an online example at http://dechauncy.family.

Using the Checksum File

The "-checksum" generates a file called "checksum.csv". This file contains file names and their SHA-1 checksum like:

amos-adams.html,b0538fb8186a50c4079c902fec2b4ba0af843061
massachusetts-united-states.html,79db811c089e8ab5653d34551e6540cb2ea2c947

The lines are ordered by the file name so the output is ideal for comparison.

Here is an example of using the previous and current checksum file to generate sync commands:

join -a 1 -a 2 -t, -o 0.1,1.2,2.2 /old/checksum.csv /new/checksum.csv | \
   awk -F, '$2 == $3 { next } { print $3 == "" \
       ? "rm /some/folder/" $1 \
       : "cp" " " $1 " /some/folder/" $1 }'

Will produce commands like:

cp abos-adams.html /some/folder/abos-adams.html
rm /some/folder/massachusetts-united-states.html

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL