Versions Compared

Key

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

...

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1c11c4846ffca4eb-1908b33a-450640b4-8c7aac95-54d89c813bbc2f3d129ebb49"><ac:plain-text-body><![CDATA[

Command used:

[DSDOCDEV: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="2255fa707a131e7f-f8adc223-4f02450f-8095a743-06d4f91b8613a370fd59f5aa"><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 [DSDOCDEV:dspace]/config/modules/bulkedit.cfg to be ignored on export.

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

-h or --help

Display the help page.

...

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="ef54a670ebe5b235-f55c00ef-4406473f-affe8b89-829e0a682250e84575d429ce"><ac:plain-text-body><![CDATA[

Command used:

[DSDOCDEV: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.

...

The csv files that this tool can import and export abide by the RFC4180 CSV formathttp://www.ietf. org/rfc/rfc4180.txt. This means that new lines, and embedded commas can be included by wrapping elements in double quotes. Double quotes can be included by using two double quotes. The code does all this for you, and any good csv editor such as Excel or OpenOffice will comply with this convention.

...

If you want to store multiple values for a given metadata element, they can be separated with the double-pipe '||' (or another character that you defined in your _modules/bulkedit.cfg _ file. For example:

Code Block
Horses||Dogs||Cats

...

  1. 'expunge' This permanently deletes an item.  Use with care!  This action must be enabled by setting 'allowexpunge = true' in modules/bulkedit.cfg
  2. 'withdraw' This withdraws an item from the archive, but does not delete it.
  3. 'reinstate' This reinstates an item that has previously been withdrawn.

...