Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Removed an incorrect slash from an example

Batch Metadata Editing

Table of Contents
minLevel2
outlinetrue
stylenone

Batch Metadata Editing Tool

DSpace provides a batch metadata editing tool. The batch editing tool is able to produce a comma delimited file in the CVS CSV format. The batch editing tool facilitates the user to perform the following:

...

The following table summarizes the basics.

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="de6c6cae-6b73-4373-9e07-575c4bf8a3eb"><ac:plain-text-body><![CDATA[

Command used:

[dspace]/bin/dspace metadata-export]]></ac:plain-text-body></ac:structured-macro>

Java class:

org.dspace.app.bulkedit.MetadataExport

Arguments short and (long) forms):

Description

-f or --file

Required. The filename of the resulting CSV.

-i or --id

The Item, Collection, or Community handle or Database ID to export. If not specified, all items will be exported.<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="ba50ea5f-24d7-4f02-9988-86e438bedc60"><ac:plain-text-body><![CDATA[

-a or --all

Include all the metadata fields that are not normally changed (e.g. provenance) or those fields you configured in the [dspace]/config/modules/bulkedit.cfg to be ignored on export.

]]></ac:plain-text-body></ac:structured-macro>-h or --help

Display the help page.

...

In the above example we have requested that a collection, assigned handle '1989.1/24' export the entire collection to the file 'col_14.cvscsv' found in the '/batch_export' directory.

...

The following table summarizes the basics.

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="6aebb225-6b11-4153-a29e-8f1a7fbcdabc"><ac:plain-text-body><![CDATA[

Command used:

[dspace]/bin/dspace metadata-import]]></ac:plain-text-body></ac:structured-macro>

Java class:

org.dspace.app.bulkedit.MetadataImport

Arguments short and (long) forms:

Description

-f or --file

Required. The filename of the CSV file to load.

-s or --silent

Silent mode. The import function does not prompt you to make sure you wish to make the changes.

-e or --email

The email address of the user. This is only required when adding new items.

-w or --workflow

When adding new items, the program will queue the items up to use the Collection Workflow processes.

-n or --notify

when adding new items using a workflow, send notification emails.

-t or --template

When adding new items, use the Collection template, if it exists.

-h or --help

Display the brief help page.

...

Code Block
[dspace]/bin/dspace/ metadata-import -f /dImport/new_file.csv -e joe@user.com -w -n -t

...