On Fri, Dec 7, 2012 at 4:17 AM, George Rokkas <[email protected]> wrote:
> I want to perform a batch edit on a whole bunch of records, but when I do so
> using the /bin/dspace metadata-import -f test_update.csv command I get all
> the fields I’m updating as duplicate fields.
>
> Is there a way to overwrite and not create?

The usual mistake that results in duplicate items is importing the
same new items more than once.

This happens if you leave the value "+" in the ID column. If you want
to use the same file to import again, you have to have the ID of the
imported item there. You also have to put in the handle (created
during the first import) to the dc.identifier.uri column.

You can easily get these identifiers as follows:
1) do your first import of the new (+) items
2) export your items
3) in the exported CSV add more new (+) items or do any changes to the
existing items
4) import the CSV


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to