I will experiment with this on our development environment and see what
happens.  Thanks for all these ideas.

-Jose 

-----Original Message-----
From: Christine L Moulen [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 08, 2007 10:02 AM
To: Blanco, Jose
Cc: dspace-tech@lists.sourceforge.net
Subject: RE: [Dspace-tech] Moving an item from one collection to another

I'm not sure about that.  When I do a replacement, I'm usually changing
the PDF file for an item, so I don't use the export, and we build new
source metadata as well.

I've never created the handle file, ItemImport seems to do that for you.
I don't know what happens if you have one and don't remove it.

Christine

On Wed, 2007-08-08 at 09:53 -0400, Blanco, Jose wrote:
> When I export the item should I leave the handle file in the 
> directory, and do I need to clean up the dublin_core.xml file in any
way?
> 
> This is really useful information.  Thank you!
> 
> Jose
> 
> -----Original Message-----
> From: Christine L Moulen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 08, 2007 9:50 AM
> To: Blanco, Jose
> Cc: dspace-tech@lists.sourceforge.net
> Subject: RE: [Dspace-tech] Moving an item from one collection to 
> another
> 
> You specify the --collection flag as part of ItemImport.
> 
> dsrun org.dspace.app.itemimport.ItemImport --replace 
> [EMAIL PROTECTED] --collection=1721.1/7704 --source=12345 
> --mapfile=12345.map
> 
> The map file looks like this:
> 0000 1721.1/8092
> 
> It finds the old one based on the handle in the map file, removes that

> item completely, and imports the item to the new collection from 
> --collection
> 
> The moved item will have the same handle as the original.
> 
> You'll still need to do your ItemExport to get the source metadata and

> bitstream files.  The whole thing is replaced from the source.
> 
> Christine
> 
> On Wed, 2007-08-08 at 09:30 -0400, Blanco, Jose wrote:
> > But doesn't the replace just replace the item in the collection it 
> > exists in.  I need to move the item from one collection to another.
> > Where would I indicate that?  Where would I say this item now lives 
> > in
> 
> > this collection, and not in this other one?
> > 
> > Thanks!
> > Jose
> > 
> > -----Original Message-----
> > From: Christine L Moulen [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, August 08, 2007 9:15 AM
> > To: Blanco, Jose
> > Cc: dspace-tech@lists.sourceforge.net
> > Subject: Re: [Dspace-tech] Moving an item from one collection to 
> > another
> > 
> > Jose,
> > 
> > If you're using ItemImport, you could run that with the --replace 
> > flag, instead of --add.
> > Be sure to provide a map file which contains the handle for the item

> > you're moving, similar to the map file the --add option would have 
> > created.
> > You can skip deleting the item, the replacement will take care of
it.
> > You also shouldn't need to re-index.
> > 
> > Christine
> > 
> > On Tue, 2007-08-07 at 12:35 -0400, Blanco, Jose wrote:
> > > I need to move an item from one collection to another.  I tried ( 
> > > in
> 
> > > my dev area ) to use ItemExport to get the item, and then I 
> > > deleted the item using the interface, then I used ItemImport to 
> > > put the item
> 
> > > in the new collection, but when I log in as admin to view the item

> > > it seems to have created a different item_id and I can't edit the
> item.
> > > I don't have confidence in this procedure.  Is there a better way 
> > > to
> > do this?
> > > 
> > > Thanks!
> > > Jose
> > > 
> > > ------------------------------------------------------------------
> > > --
> > > --
> > > --- This SF.net email is sponsored by: Splunk Inc.
> > > Still grepping through log files to find problems?  Stop.
> > > Now Search log events and configuration files using AJAX and a
> > browser.
> > > Download your FREE copy of Splunk now >>  http://get.splunk.com/ 
> > > _______________________________________________
> > > DSpace-tech mailing list
> > > DSpace-tech@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> > --
> > Christine Moulen
> > Library Systems Manager
> > MIT Libraries, E25-131
> > 617-253-0757
> > fax: 617-253-4462

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to