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
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
358 B

#include "bag.hpp"
using namespace std;
#include <iostream>
#include <string>
int main(int argc, const char *argv[]) {
if (argc != 2) {
cout << "you need at least one argument (a bagit dir)" << endl;
exit(-1);
}
const string dir = argv[1];
Bag bag( dir );
return 0;
}
// vim: set tabstop=4 softtabstop=0 expandtab shiftwidth=4 smarttab