archive-ingest

command module
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2021 License: GPL-2.0 Imports: 5 Imported by: 0

README

Archive Ingest

Components

Discover

Scans a directory for archives of a specific format, parses filenames and announces them to a queue

Ingester

Listens to a queue and adds data to a postgres database as it is received

Usage

Docker
docker build -t archive-ingest .

# discover a directory
docker run --rm -it --net host archive-ingest discover /data

# ingest into a database
docker run --rm -it --net host archive-ingest ingest
Directly
go build -o archive-ingest main.go


# discover a directory
./archive-ingest discover /data

# ingest into a database
./archive-ingest ingest

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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