Sword Export to DANS

From Dryad wiki
Revision as of 07:57, 29 August 2017 by Ryan Scherle (talk | contribs) (Useful Commands)

Jump to: navigation, search

Dryad content is stored in the DANS/KNAW system called EASY for preservation purposes. Dryad exports content to DANS using BagIt packages transferred via the SWORD protocol.

Installation Instructions

Detailed documentation for the DANS tools is on GitHub:

Useful Commands

To package (but not transfer) a single item, with Item ID 20, and leave the package for manual inspection:

sudo /opt/dryad/bin/dspace dsrun org.datadryad.dans.DANSTransfer -i 20 -p -k -t /opt/dryad-data/tmp/

To package and transfer a single item, with Item ID 20:

sudo /opt/dryad/bin/dspace dsrun org.datadryad.dans.DANSTransfer -i 20 -d -t /opt/dryad-data/tmp/

To package many items, put the item IDs in a text file called items.txt, one ID per line. Then, place this file in the directory where the temporary files should be stored (usually /opt/dryad-data/tmp), and from this directory, run:

dryad2dans/bin/dans-transfer-many.sh