![]() Combine the FITS outputs for each file in an AIP into a single valid XML document. In line 9, “$1” refers to the script’s first argument, which is the source directory that contains the AIPs. FITS makes a separate XML document for each file within an AIP. ![]() This part of the script makes a subfolder called “fits-output” in each AIP folder (line 10), runs FITS on the contents of the AIP’s objects subfolder, and saves the results in that fits-output subfolder (line 11). We first use FITS to extract technical metadata from our files. The full script and supporting documentation are available on GitHub. The full script is too long for a blog post, so I’ll be covering the first part which extracts technical metadata and uses it to create PREMIS records. I was able to write it based on what I learned at SAA’s course on the command line. The script incorporates a few free tools and is for a Mac/Linux operating system. ![]() The University of Georgia uses a bash script to prepare batches of AIPs (Archival Information Packages) for ingest into our digital preservation storage system. This is the sixth post in the bloggERS Script It! Series.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |