Hi George,

On 07/12/12 16:17, George Rokkas 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?


It should overwrite rather than create by default. I suspect something isn't quite right with the headers in your CSV file. My first thought would be the language part of the headers -- DSpace takes that into account when checking whether the field exists or not. That is, dc.type[en] is different from dc.type[en_AU] etc.

How did you create the CSV file -- via metadata export? Try comparing the first few lines of the original CSV file with the first few lines in your edited version, using a standard text editor. The program you used to make your changes may have done something to the CSV that DSpace doesn't like (especially if you used Excel).

If you can't spot anything obvious yourself, maybe you could create a "minimal example" with just one or two items and one or two metatada fields -- something you could then send to this list so we can have a look.

cheers,
Andrea

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand


------------------------------------------------------------------------------
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