Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
archive_directory/
    item_000/
        dublin_core.xml         -- qualified Dublin Core metadata for metadata fields belonging to the dc schema
        metadata_[prefix].xml   -- metadata in another schema, the prefix is the name of the schema as registered with the metadata registry
        contents                -- text file containing one line per filename
		collections				-- text file that contains the handles of file_1.docthe collections the item will belong two. Optional. Each handle in    a row.
								-- filesCollection toin befirst addedline aswill bitstreams tobe the itemowning collection
        file_1.doc              -- files to be added as bitstreams to the item
        file_2.pdf
    item_001/
        dublin_core.xml
        contents
        file_1.png
        ...

...

  • Resume. If, during importing, you have an error and the import is aborted, you can use the --resume (-R) flag that you can try to resume the import where you left off after you fix the error.

  • Importing (per item) into multiple collections from the command line administration tool

    If you omit the -c flag, which normally is mandatory, the ItemImporter searches for a file named "collections" in each item directory. This file should contain a list of collections, one per line, specified either by their handle, or by their internal db id. The ItemImporter then will put the item in each of the specified collections. The owning collection is the collection specified in the first line of the collections file.

    If both the -c flag is specified and the collections file exists in the item directory, the ItemImporter will ignore the collections file and will put the item in the collection specified on the command line.

    Since the collections file can differ between item directories, you have more fine grained control of the process of batch adding items to collections.

  • Importing with BTE

    The DSpaceOutputGenerator, that writes the metadata in DSpace Simple Archive Format, has been updated to produce the collections file, if a metadata field named collections (reserved word) exists in the original metadata. This is mainly applicable to the CSV input format which is more flexible, but could also be implemented with a Modifier that adds the collections field to each Record in the BTE pipeline.

    Important note: an entry with key "collections" should be in the output map that is used by the DSpaceOutputGenerator.

UI Batch Import

Batch import can also take place via the Administrator’s UI. The steps to follow are:

...