export records - This script exports record (biblios or authorities)
export_records.pl [-h|--help] [--format=format] [--date=date] [--record-type=TYPE] [--dont_export_items] [--deleted_barcodes] [--clean] [--id_list_file=PATH] --filename=outputfile
Print a brief help message.
--format=FORMAT FORMAT is either 'xml', 'csv' (biblio records only) or 'marc' (default).
--date=DATE DATE should be entered as the 'dateformat' syspref is set (dd/mm/yyyy for metric, yyyy-mm-dd for iso, mm/dd/yyyy for us) records exported are the ones that have been modified since DATE.
--record-type=TYPE TYPE is 'bibs' or 'auths'.
--dont_export_items If enabled, the item infos won't be exported.
--csv_profile_id=ID Generate a CSV file with the given CSV profile id (see tools/csv-profiles.pl) Unless provided, the one defined in the system preference 'ExportWithCsvProfile' will be used. This can only be used to export biblio records.
--deleted_barcodes If used, a list of barcodes of items deleted since DATE is produced (or from all deleted items if no date is specified). Used only if TYPE is 'bibs'.
--clean removes NSE/NSB.
--id_list_file=PATH PATH is a path to a file containing a list of IDs (biblionumber or authid) with one ID per line. This list works as a filter; it is compatible with other parameters for selecting records.
--filename=FILENAME FILENAME used to export the data.
--starting_authid=ID Export authorities with authid >= ID
--ending_authid=ID Export authorities with authid <= ID
--authtype=AUTHTYPE Export authorities from the given AUTHTYPE
--starting_biblionumber=ID Export biblio with biblionumber >= ID
--ending_biblionumber=ID Export biblio with biblionumber <= ID
--itemtype=ITEMTYPE Export biblio from the given ITEMTYPE
--starting_callnumber=CALLNUMBER Export biblio with callnumber >=CALLNUMBER
--ending_callnumber=CALLNUMBER Export biblio with callnumber <=CALLNUMBER
--starting_accession=DATE Export biblio with an item accessionned after DATE
--end_accession=DATE Export biblio with an item accessionned after DATE
Koha Development Team
Copyright Koha Team
This file is part of Koha.
Koha is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
You should have received a copy of the GNU General Public License along with Koha; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.