[Koha] Delete authorities with not title

Craig Butosi craig.butosi at rcmusic.ca
Fri May 12 05:32:38 NZST 2017


Hi Luis,

You can run the remove unused authorities script. I believe it's located in ../koha/bin/migration_tools/remove_unused_authorities.pl with a package install. We have this set up as a cron job, run once a month.

===
This script removes authority records that do not have any biblio
records attached to them.

If the --aut option is supplied, only authority records of that
particular type will be checked for usage.  --aut can be repeated.

If --aut is not supplied, all authority records will be checked.

Use --test to perform a test run.  This script does not ask the
operator to confirm the deletion of each authority record.

parameters
    --aut|authtypecode TYPE       the list of authtypes to check
    --test or -t                  test mode, don't delete really, just count
    --help or -h                  show this message.

===

Hope this helps!


Craig Butosi, MA, MLIS, B Mus (Hons.)
LIBRARY SERVICES MANAGER
THE ROYAL CONSERVATORY
TELUS Centre for Performance and Learning
273 Bloor Street West
Toronto, ON M5S 1W2
416.408.2824 x338
www.rcmusic.ca


-----Original Message-----
From: Koha [mailto:koha-bounces at lists.katipo.co.nz] On Behalf Of Luis Moises Rojas
Sent: May-11-17 1:25 PM
To: koha at lists.katipo.co.nz
Subject: [Koha] Delete authorities with not title

Hello everybody,

We have at lot of authorities with 0 records ,this is with not title.

Can we delete or how can we delete all these records (authorities)?

Thanks.

--
*Luis Moisés Rojas P.*
_______________________________________________
Koha mailing list  http://koha-community.org Koha at lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha


Note: This email message and any attachments are intended only for the use of the individual to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the recipient of this email is not the intended recipient (or the employee or agent responsible for delivering the email to the intended recipient), you are hereby notified that any review, dissemination, distribution or copying or other use of this message is strictly prohibited. If you have received this communication in error, please notify the sender immediately by return email and delete this message and attachments from your system, thank you.


More information about the Koha mailing list