Terry,
Thanks for responding! There are libraries that already deal with making Tar(and other archive formats) files much better than bagit-java ever could simply because they have more resources to maintain and add new features.
After a quick search here are two that you could use
http://commons.apache.org/proper/commons-compress/tar.html
https://github.com/kamranzafar/jtar
Would it help to create an examples folder and show how you would create a tar yourself when using bagit-java?
Thanks
-----Original Message-----
From: Code for Libraries [mailto:[log in to unmask]] On Behalf Of Terry Brady
Sent: Wednesday, March 23, 2016 12:09 PM
To: [log in to unmask]
Subject: Re: [CODE4LIB] bagit java version
John,
I am glad to hear that the bagit library will be enhanced.
At Georgetown, I have integrated the the bagit java library into our FileAnalyzer application. We use this application for a number of digitization related tasks.
https://github.com/Georgetown-University-Libraries/File-Analyzer/wiki/Bagit-automation
Our real use case is to prepare bags for the APTrust preservation repository.
https://github.com/Georgetown-University-Libraries/File-Analyzer/wiki/Bagit-automation-for-Academic-Preservation-Trust-(APTrust)
APTrust requires bags to be packaged as TAR files. This code creates some APTrust tag files and then packages the bag as a tar file. It would be useful to have a tar option built into the bagit library.
Since we have a number of applications that are already in Java, we will continue to work with the Java version of the library.
Terry
On Wed, Mar 23, 2016 at 6:36 AM, Scancella, John <[log in to unmask]> wrote:
> Hi All,
>
> I am currently rewriting the library so that it better conforms to the
> spec, and to make it easier to extend and use. I was wondering if
> people would be so kind as to provide any feedback on:
> * How they currently use the bagit-java library
> * Do you use the command line?
> * If so what is stopping you from using the python version instead?
> * Do you use the library in a java application?
> * If so what functionality do you use? What do you wish it did?
> * Trying out the latest version (you can see examples here
> https://github.com/LibraryOfCongress/bagit-java/blob/master/README.md#
> examples
> on how to use it)
>
> Thanks
>
> John
>
> Please note, all opinions expressed in this email are my own.
>
--
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code
425-298-5498 (Seattle, WA)
|