Script to remove authorities
Hi you will find here a command line script which allows deduping authorities based on the parameters passed. You can test and tell me what you think of that. I also fixed the merge script in C4::AuthoritiesMarc.pm http://git.biblibre.com/?p=koha;a=blob;f=C4/AuthoritiesMarc.pm;h=af99fa632ee... I think it is quite handy at the moment. It requires though that your authorities index are declared with completeness and p and you can declare on which index and which data you want to deduplicate $0 --match index/123sub##index2/123a####index2/001 AUTHTYPECODE1 AUTHTYPECODE2 Hope that helps. -- Henri-Damien LAURENT
Sounds great, looking forward to testing it out. Will let you know what I find. -Ian 2011/2/24 LAURENT Henri-Damien <henridamien.laurent@biblibre.com>
Hi you will find here a command line script which allows deduping authorities based on the parameters passed. You can test and tell me what you think of that. I also fixed the merge script in C4::AuthoritiesMarc.pm
http://git.biblibre.com/?p=koha;a=blob;f=C4/AuthoritiesMarc.pm;h=af99fa632ee... I think it is quite handy at the moment. It requires though that your authorities index are declared with completeness and p and you can declare on which index and which data you want to deduplicate
$0 --match index/123sub##index2/123a####index2/001 AUTHTYPECODE1 AUTHTYPECODE2 Hope that helps. -- Henri-Damien LAURENT
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
-- Ian Walls Lead Development Specialist ByWater Solutions Phone # (888) 900-8944 http://bywatersolutions.com ian.walls@bywatersolutions.com Twitter: @sekjal
Reply inline: On Thu, February 24, 2011 18:07, LAURENT Henri-Damien wrote:
Hi you will find here a command line script which allows deduping authorities based on the parameters passed. You can test and tell me what you think of that. I also fixed the merge script in C4::AuthoritiesMarc.pm http://git.biblibre.com/?p=koha;a=blob;f=C4/AuthoritiesMarc.pm;h=af99fa632ee...
The link does not seem to point to a command line script.
I think it is quite handy at the moment. It requires though that your authorities index are declared with completeness and p and you can declare on which index and which data you want to deduplicate
$0 --match index/123sub##index2/123a####index2/001 AUTHTYPECODE1 AUTHTYPECODE2 Hope that helps.
[...] Thomas Dukleth Agogme 109 E 9th Street, 3D New York, NY 10003 USA http://www.agogme.com +1 212-674-3783
participants (3)
-
Ian Walls -
LAURENT Henri-Damien -
Thomas Dukleth