RockefellerArchiveCenter / scripts

Useful scripts
MIT License
16 stars 5 forks source link

Script to add DAOs, link to component #75

Closed bonniegee closed 3 years ago

bonniegee commented 3 years ago

Adds script that finds all file-level components in a supplied resource and series, creates digital objects based on Archivematica DIP information, and links the components and digital objects.

bonniegee commented 3 years ago

@helrond I was wondering the same! Parsing box and folder numbers from the AIP filename made me nervous enough that I did it semi-manually, as I wanted to review it. This (and pinging the API to begin with) was done in the Python shell, and I saved the resulting data as a pickle file.

Given that this specific use case (i.e., the parsing box and folder numbers, as opposed to other information, from the AIP name) was likely a one-time thing, I think changing this code to parse only the data directly from Archivematica (and use AMClient to get the data in this script) makes sense.