<<

NAME

import_patrons.pl - CLI script to import patrons data into Koha

SYNOPSIS

import_patrons.pl --file /path/to/patrons.csv --matchpoint cardnumber --confirm [--default branchcode=MPL] [--overwrite] [--preserve-extended-attributes] [--verbose]

OPTIONS

-h|--help

Prints a brief help message and exits

-c|--confirm

Confirms you really want to import these patrons, otherwise prints this help

-f|--file

Path to the CSV file of patrons to import

-c|--matchpoint

Field on which to match incoming patrons to existing patrons

-d|--default

Set defaults to patron fields, repeatable e.g. --default branchcode=MPL --default categorycode=PT

-o|--overwrite

Overwrite existing patrons with new data if a match is found

-p|--preserve-extended-attributes

Retain extended patron attributes for existing patrons being overwritten

-v|--verbose

Be verbose

Multiple -v options increase the verbosity

2 repetitions or above will report lines in error

3 repetitions or above will report feedback

<<