[Koha] Importing MARC from the Command Line
Fischer, Katrin
Katrin.Fischer at bsz-bw.de
Tue Jun 25 01:30:30 NZST 2013
Hi Nicole,
overlay is activated by default, you can deactivate it using one of the command line options. The documentation is a bit hidden at the bottom of the file:
http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=misc/stage_file.pl;h=4ce16b59e15d2ad493c527004280bb769d0c4ab0;hb=b46f0238f230b0d88d1e04cb4cec2aa825dd949d
--no-replace
overlay action for record: default is to replace extant with the imported record.
Maybe do a quick test with a few records to check if it works as expected.
Katrin
From: Nicole Engard [mailto:nengard at gmail.com]
Sent: Monday, June 24, 2013 3:12 PM
To: Fischer, Katrin
Cc: Bernardo Gonzalez Kriegel; Koha
Subject: Re: [Koha] Importing MARC from the Command Line
On Mon, Jun 24, 2013 at 5:12 AM, Fischer, Katrin <Katrin.Fischer at bsz-bw.de> wrote:
stage_file.pl let's you specify the matching rule you want to use:
--match <match_id>
use this option to match records
in the file with records already in
the database for future overlay.
If <match_id> isn't defined, a default
MARC21 ISBN & title match rule will be applied
for bib imports
Katrin,
That part I understood from the documentation, but what happens when a match is found? I want the record I'm importing to overlay the one on the system. But the documentation implies that the matching one I'm importing will be ignored.
Nicole
More information about the Koha
mailing list