C++ Library to handle BagIt structures. BagIt is a standard format to create transfer packages for digital preservation purposes. See https://en.wikipedia.org/wiki/BagIt for details http://andreas-romeyke.de
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
Andreas Romeyke b7cde83c0d - added tests using the new test bagits vor 6 Monaten
src - bugfix, make file list uniq vor 8 Monaten
test - added tests using the new test bagits vor 6 Monaten
testbags - added testcases (thx to Serhey Bolkun) vor 6 Monaten
CMakeLists.txt - added hardening compiler- and linker flags vor 7 Monaten
License - added License information vor 1 Jahr
README - added some debian dependencies vor 6 Monaten
README.compile - added hint about more verbose test output vor 6 Monaten
README.md - updated support information vor 8 Monaten
TODO - updated vor 1 Jahr

README.md

libcbag

General

C++ Library to handle BagIt structures. BagIt is a standard format to create transfer packages for digital preservation purposes. See https://en.wikipedia.org/wiki/BagIt for details

The library supports BagIt in version 1.0, yet (also previous versions).

It is licensed under terms of GNU General Public License, v3 or higher, see file License for details.

The main website of the project author is http://andreas-romeyke.de. Please do not hesitate to contact me if you find problems or give hints.

Principle

The library only checks a given or created BagIt structure if you call “validate()". This allows us to prepare or read incomplete structures.

If you want to copy a BagIt from source to destination, you should create a bag-object first. Then you should use validate() and then call store().

If you want to generate a new BagIt structure, you need to define a directory path first. Then you create the sub objects for a Bag using the defined directory as base. For each of this objects call required methods and at least the store()-call. Then you create the Bag object and call store().