Skip to content

Bagit automation for Academic Preservation Trust (APTrust)

Terry Brady edited this page Sep 2, 2016 · 7 revisions

This rule was written to generate bag files for Academic Preservation Trust (APTrust) functionality through the File Analyzer.

The generated bag file will conform to the APTrust BagIt Profile

See Bagit automation

screen shot

Demonstration Video

This video demonstrates the workflows developed by the Georgetown University Library to export content to Academic Preservation Trust.

Demonstration Video

Note: Georgetown University Library IT has developed a command line interface to the APTrust API. See https://github.com/Georgetown-University-Libraries/APTUploadVerification

Test Data

screen-shot

Create a APT Directory Bag from an existing directory

screen-shot

screen-shot

screen-shot

screen-shot

Verify APT Directory Bag

Given an existing Directory Bag, verify that the integrity of the Bag contents.

screen-shot

screen-shot

screen-shot

Create a APT Zip Bag from an existing directory

screen-shot

screen-shot

screen-shot

Verify APT Zip Bag

screen-shot

screen-shot

APTrust TAR File Support

https://github.com/Georgetown-University-Libraries/File-Analyzer/releases/tag/v4.0.3

Command Line Interface to the APT Bagging Function

AIP Zip File Packaging

This function takes an DSpace AIP Zip File and packages it into an APTrust bag file

apt-export]$ java -cp ~/fileAnalyzer/FileAnalyzerBagUtils-2.0.jar edu.georgetown.library.fileAnalyzer.cmd.AIPToAPTCmd -sendid sendid -srcorg srcorg -zip -institution 10822-761808.zip Bag Complete: 3 item(s) written to bag (srcorg.10822_761808.tar) apt-export]$ ls 10822-549388 10822-550884.zip 10822-761481.zip 10822-761808.zip srcorg.10822_761808.tar

AIP Directory Packaging

This function takes an DSpace AIP Directory and packages it into an APTrust bag file

apt-export]$ java -cp ~/fileAnalyzer/FileAnalyzerBagUtils-2.0.jar edu.georgetown.library.fileAnalyzer.cmd.AIPToAPTCmd -sendid sendid -srcorg srcorg -institution -dir 10822-549388 Bag Complete: 2 item(s) written to bag (srcorg.10822_549388.tar) apt-export]$ ls 10822-549388 10822-550884.zip 10822-761481.zip 10822-761808.zip srcorg.10822_549388.tar srcorg.10822_761808.tar

Clone this wiki locally