A Preservation-Focused Dark Repository for the University of Michigan
- Edit
config/client.yml
to include your API key and the URL to the Chipmunk server.
api_key: YOUR_CHIPMUNK_API_KEY
# should be the full URL to the Chipmunk server; defaults to http://localhost:3000
url: http://localhost:3000
bin/upload -c path/to/config.yml /path/to/bag1 /path/to/bag2
If no config file is specified, it will use config/client.yml
by default.
The client will display progress on uploading and validating each bag in sequence.
makebag audio
will create a BagIt bag and move the files from source
into output_bag/data
. It expects there to be a METS file which contains an mdRef
element that links to a record in Mirlyn; it will download MARC-XML for that record and included it in the bag.
bin/makebag audio barcode -s source output_bag
makebag digital
will add chipmunk bagging information to an existing bag. The bag should follow the UMICH disk imaging profile
bin/makebag digital barcode path_to_bag