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: <[email protected]> on behalf of Gwenlyn Coddington <[email protected]> Reply-To: Archivesspace Users Group <[email protected]> Date: Thursday, January 2, 2020 at 11:02 AM To: "[email protected]" <[email protected]> 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 [email protected]<mailto:[email protected]> (410) 857-2793
_______________________________________________ Archivesspace_Users_Group mailing list [email protected] http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
