Using this command: /usr/share/koha/bin/migration_tools/bulkmarcimport.pl -v -insert -biblios -framework "BKS" -file /home/me/books.mrc -l /tmp/books.log works fine. If changes are made (on normal fields and on 952) on MRC and then we run: /usr/share/koha/bin/migration_tools/bulkmarcimport.pl -v -match Control-number,001 -update -biblios -framework "BKS" -file /home/me/books.mrc -l /tmp/books.log the information is update/overwritten, but *only at biblio level*. Item info remains untouched. The solution maybe could be to add a --add-items-if-match option. To include -all option and have consistency with web interface --add-items-if-nomatch and --add-items-always could be added.
Hi Pablo, there are scripts that mimick the staged import that are probably better suited for this task: stage_file.pl and commit_file.pl To my knowledge matching/updating items was not developed for bulkmarcimport.pl yet, which would make this an enhancement.
Thanks Katrin! Being 952 field part of the imported records, users might think that, by default, bulkmarcimport will update the whole record. In this scenario (mismatch between what's expected and what happen) could be considered a bug. Would be nice at least a warning (perldoc on script and on the manual).