<<

NAME

sanitize_records - This script sanitizes a record.

SYNOPSIS

sanitize_records.pl [-h|--help] [-v|--verbose] [-c|--confirm] [--biblionumbers=BIBLIONUMBER_LIST] [-f|--filename=FILENAME] [--auto-search] [--reindex] [--fix-ampersand]

You can either give some biblionumbers or a file with biblionumbers or ask for an auto-search.

OPTIONS

-h|--help

Print a brief help message

-v|--verbose

Verbose mode.

-c|--confirm

This flag must be provided in order for the script to actually sanitize records. If it is not supplied, the script will only report on the record list to process.

--biblionumbers=BIBLIONUMBER_LIST

Give a biblionumber list using this parameter. They must be separated by commas.

-f|--filename=FILENAME

Give a biblionumber list using a filename. One biblionumber by line or separate them with a whitespace character.

--auto_search

Automatically search records containing "&amp;" in biblioitems.marcxml or in the specified fields.

--fix-ampersand

Replace '&amp;' by '&' in the records. Replace '&amp;amp;amp;etc.' with '&amp;' in the records.

--reindex

Reindex the modified records.

AUTHOR

Alex Arnaud <alex.arnaud@biblibre.com> Christophe Croullebois <christophe.croullebois@biblibre.com> Jonathan Druart <jonathan.druart@biblibre.com>

COPYRIGHT

Copyright 2014 BibLibre

LICENSE

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.

<<