[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Koha-devel] bulkmarcimport.pl flags
From: |
Rick Welykochy |
Subject: |
Re: [Koha-devel] bulkmarcimport.pl flags |
Date: |
Tue, 01 Apr 2008 09:38:46 +1100 |
User-agent: |
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.11) Gecko/20071128 SeaMonkey/1.1.7 |
address@hidden wrote:
I am looking at doing this to load some records into a "test" setup, but was wondering if
there is a document that tells me what all the "flags" for running this option are, and
how to run this .pl file.
Run the script without any arguments, e.g.
perl ./intranet/scripts/misc/migration_tools/bulkmarcimport.pl
small script to import an iso2709 file into Koha.
parameters :
h : this version/help screen
file /path/to/file/to/dump : the file to dump
v : verbose mode. 1 means "some infos", 2 means "MARC dumping"
n : the number of the record to import. If missing, all the file is
imported
t : test mode : parses the file, saying what he would do, but doing
nothing.
c : the characteristic MARC flavour. At the moment, only MARC21 and
UNIMARC
supported. MARC21 by default.
d : delete EVERYTHING related to biblio in koha-DB before import
:tables :
biblio, biblioitems, subjects,
items
additionalauthors, bibliosubtitles, marc_biblio,
marc_subfield_table, marc_word,
marc_blob_subfield
IMPORTANT : don't use this script before you've entered and checked twice (or
more) your MARC parameters tables.
If you fail this, the import won't work correctly and you will get invalid
datas.
SAMPLE : ./bulkmarcimport.pl -file /home/paul/koha.dev/local/npl -n 1
cheers
rickw
--
________________________________________________________________
Rick Welykochy || Praxis Services || Internet Driving Instructor
The best way to accelerate a PC is 9.8 m/s2
-- anon