glx import
Import a GEDCOM or GEDZIP file to GLX format
Synopsis
Import a GEDCOM or GEDZIP file and convert it to GLX format.
The input format is detected by extension:
- .gdz: GEDZIP (a ZIP archive containing gedcom.ged at the root plus any media files referenced by FILE records)
- Any other extension is treated as GEDCOM 5.5.1 or 7.0 (typically .ged)
The imported archive will include:
- All individuals (persons)
- All events (births, deaths, marriages, etc.)
- All relationships (parent-child, spouse, etc.)
- All places with hierarchical structure
- All sources and citations
- All repositories and media
- Evidence-based assertions
Output formats:
- multi: Multi-file directory structure (default, one file per entity)
- single: Single YAML file
glx import <file> [flags]Examples
# Import GEDCOM to multi-file directory (default)
glx import family.ged -o family-archive
# Import GEDZIP archive (auto-extracts media files)
glx import family.gdz -o family-archive
# Import to single file
glx import family.ged -o family.glx --format single
# Import without validation
glx import family.ged -o family-archive --no-validateOptions
-f, --format string Output format: multi or single (default "multi")
-h, --help help for import
--no-validate Skip validation before saving
-o, --output string Output file or directory (required)
--show-first-errors int Number of validation errors to show (0 for all) (default 10)
-v, --verbose Verbose outputOptions inherited from parent commands
-q, --quiet Suppress non-error output (where supported)SEE ALSO
- glx - GENEALOGIX CLI - Manage and validate genealogy archives