On Tue, Mar 4, 2014 at 10:32 PM, Alain Tschanz <[email protected]> wrote:
> Is it possible to import metadata first and then use the packager to add PDF
> files that go along with the metadata?  DSpace seems to want to create a new
> item every time I run the packager, but is it possible to specify the handle
> and have the PDF imported?

Hi Alain,

no, in general there is no easy way to just batch-add bitstreams to
existing items.

> I saw this command in the documentation but I can’t specify the handle of
> the item.
>
> wget -O - http://alum.mit.edu/jarandom/my-thesis.pdf | [dspace]/bin/dspace
> packager -e [email protected] -p 4321/10  -t PDF –

This won't work with existing items. What you see here is a special
importer that extracts metadata from the PDF file - and creates a new
item with this metadata.


What you want to look at instead is some form of export of existing
items, then batch-adding the bitstreams and then reimporting them. An
easy way might be to use SAFbuilder:

https://wiki.duraspace.org/display/DSPACE/Simple+Archive+Format+Packager

Or, alternatively, you would write your own piece of code, be that a
curation task or a class using the dspace API (or the REST API in the
future when it has write capabilities).


Regards,
~~helix84

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

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
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