Bug 5987: Add cl scripts to touch all biblios and items
authorJared Camins-Esakov <jcamins@bywatersolutions.com>
Tue, 29 Mar 2011 13:39:52 +0000 (09:39 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Fri, 1 Apr 2011 07:11:04 +0000 (20:11 +1300)
commit0a429b78d80d40ce7be90678925740f449badfeb
tree69c1b47561ebef129fd87203019293987f016d1d
parent22d9d8afdfd19a40519397f497da39ec6d9f1fc0
Bug 5987: Add cl scripts to touch all biblios and items

Add scripts that call ModBiblio and ModItem on all or some of the records in a
given catalog. For use when an upgrade changes the behavior of ModBiblio or
ModItem, and the change needs to be retroactively applied to records already in
the system. Usage is as follows:
misc/maintenance/touch_all_[biblios|items].pl [-v] [--where=STRING]

When invoked with a --where argument, the scripts will only modify those biblios
or items that match.

Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
misc/maintenance/touch_all_biblios.pl [new file with mode: 0755]
misc/maintenance/touch_all_items.pl [new file with mode: 0755]