Page History
...
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="de0f48d1d3ecc33d-ea44fc2b-44b445e9-a2dd833a-b751e0ce5a20c9077176e7c8"><ac:plain-text-body><![CDATA[ | Command used: | | ]]></ac:plain-text-body></ac:structured-macro> |
Java class: | org.dspace.app.itemupdate.ItemUpdate | ||
Arguments short and (long) forms: | Description | ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="93346bccd6336b51-4cfeb885-481a44a3-93b6869e-0e8908897fcf8bee19372818"><ac:plain-text-body><![CDATA[ | | Repeatable for multiple elements. The metadata element should be in the form dc.x or dc.x.y. The mandatory argument indicates the metadata fields in the dublin_core.xml file to be added unless already present (multiple fields should be separated by a semicolon ';'). However, duplicate fields will not be added to the item metadata without warning or error. | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7dbb521eb22d3cf-6dd6105f-46be4e9f-84b1b0be-a76b95d6acffb04dd97af5bd"><ac:plain-text-body><![CDATA[ | | Repeatable for multiple elements. All metadata fields matching the element will be deleted. | ]]></ac:plain-text-body></ac:structured-macro> |
| Adds bitstreams listed in the contents file with the bitstream metadata cited there. | ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="9364d039a90c29cd-16f0b35b-46aa434c-8818873e-a12ecedc6956d3673b86f0d2"><ac:plain-text-body><![CDATA[ | | Not repeatable. With no argument, this operation deletes bitstreams listed in the | ]]></ac:plain-text-body></ac:structured-macro> |
| Displays brief command line help. | ||
| Email address of the person or the user's database ID (Required) | ||
| Directory archive to process (Required) | ||
| Specifies the metadata field that contains the item's identifier; Default value is "dc.identifier.uri" (Optional) | ||
| Runs the process in test mode with logging. But no changes applied to the DSpace instance. (Optional) | ||
| Prevents any changes to the provenance field to represent changes in the bitstream content resulting from an Add or Delete. In other words, when this flag is specified, no new provenance information is added to the DSpace Item when adding/deleting a bitstream. No provenance statements are written for thumbnails or text derivative bitstreams, in keeping with the practice of MediaFilterManager. (Optional) | ||
| The filter properties files to be used by the delete bitstreams action (Optional) | ||
| Turn on verbose logging. |
...
Code Block |
---|
[dspace]/bin/dspace itemupdate -e joe@user.com -s [path/to/archive] -a dc.description |
This will add from update all DSpace Items listed in your archive the dc element description directory, adding a new dc.description
metadata field. Items will be located in DSpace based on the handle from the URI found in 'dc.identifier.uri' (since the {{-i
}} argument wasn't used).