Skip to content

Importing items from command line

Ondřej Košarko edited this page Mar 22, 2017 · 7 revisions

Command(s)

bin/dspace import -a -e USER_EMAIL -c COLLECTION_HANDLE -s /tmp/import -m /tmp/mapfile
  • /tmp/mapfile is an output file that'll be created
  • /tmp/import is a directory with structure described below

Directory structure

Required metadata

  • for licensing to work put dc.rights.uri, dc.rights and dc.rights.label in your dublin_core.xml
    • these should match license uri, license name and license label of a defined license
  • you'll want dc.title and dc.type