[Archivesspace_Users_Group] Batch Identifying and Deleting Select Agent Records
Gwenlyn Coddington
gcoddington at mcdaniel.edu
Thu Jan 2 12:09:24 EST 2020
Hi Lora,
Fantastic! This will be so helpful. Thank you for sharing.
Gwen
Gwenlyn Coddington
College Archivist & Special Collections Librarian
McDaniel Hoover Library
gcoddington at mcdaniel.edu<mailto:gcoddington at mcdaniel.edu>
(410) 857-2793
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> On Behalf Of Lora Woodford
Sent: Thursday, January 2, 2020 12:07 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] Batch Identifying and Deleting Select Agent Records
Hi Gwen,
A while back I wrote a plugin intended to help folks identify and, if desired, delete these types of orphaned records. You can find the plugin here: https://github.com/archivesspace-plugins/orphan_finder_job
Note that there are two different versions depending on what version of ArchivesSpace you are running (2.6 or later vs. versions earlier than 2.6).
As always, test on a backup of your data and don’t run in production unless you’re certain it’s behaving as you want. Feedback welcome!
Lora
From: <archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org>> on behalf of Gwenlyn Coddington <gcoddington at mcdaniel.edu<mailto:gcoddington at mcdaniel.edu>>
Reply-To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>>
Date: Thursday, January 2, 2020 at 11:02 AM
To: "archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>" <archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>>
Subject: [Archivesspace_Users_Group] Batch Identifying and Deleting Select Agent Records
Hello,
I’m hoping someone out there might be able to share some thoughts on how to batch delete select Agent records. When we imported our records from Archon to ArchivesSpace, the migration created many Agent records with no links to any Accession or Resource records. I would like to a) identify all the Agent records with no Resource/Accession records linked to them and b) batch delete, or at least unpublish, only those records. Has anyone undergone a similar process? Any help or advice on the matter would be greatly appreciated.
Thanks,
Gwen Coddington
Gwenlyn Coddington
College Archivist & Special Collections Librarian
McDaniel Hoover Library
gcoddington at mcdaniel.edu<mailto:gcoddington at mcdaniel.edu>
(410) 857-2793
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20200102/83fb5ef6/attachment.html>
More information about the Archivesspace_Users_Group
mailing list