Bagit automation for Academic Preservation Trust (APTrust) - Georgetown-University-Libraries/File-Analyzer GitHub Wiki
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
Demonstration Video
This video demonstrates the workflows developed by the Georgetown University Library to export content to Academic Preservation Trust.
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
Create a APT Directory Bag from an existing directory
Verify APT Directory Bag
Given an existing Directory Bag, verify that the integrity of the Bag contents.
Create a APT Zip Bag from an existing directory
Verify APT Zip Bag
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