I should have emailed earlier, but it's been working great.  Thanks to
every one for their quick and  helpful suggestions.

-Jose 

-----Original Message-----
From: Jayan Chirayath Kurian [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 10, 2008 9:50 PM
To: Blanco, Jose; Dorothea Salo; dspace-tech@lists.sourceforge.net
Subject: RE: [Dspace-tech] Uploading a 10Gig File. (Blanco, Jose)

Hello Jose,

-bash-3.00$ ./dsrun org.dspace.app.itemimport.ItemImport -a --replace
[EMAIL PROTECTED]  -c 2027.42/40243 -s
/l1/dspace/repository/dev/archive/1 -m mapfile_item_1

Hope this works

Cheers!
Jayan

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Blanco,
Jose
Sent: Friday, January 11, 2008 12:29 AM
To: Dorothea Salo; dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Uploading a 10Gig File. (Blanco, Jose)

Dorothea:

I followed your instructions, and they make sense.  This is the command
I'm using to replace the item.  Can you tell me what's wrong with it?

-bash-3.00$ ./dsrun org.dspace.app.itemimport.ItemImport --replace
[EMAIL PROTECTED]  --id=2027.42/40243
--source=/l1/dspace/repository/dev/archive/1 -m mapfile_item_1 Exception
in thread "main"
org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option:
--id
        at org.apache.commons.cli.Parser.processOption(Parser.java:253)
        at org.apache.commons.cli.Parser.parse(Parser.java:170)
        at org.apache.commons.cli.Parser.parse(Parser.java:114)
        at
org.dspace.app.itemimport.ItemImport.main(ItemImport.java:167)

The id is the handle of the collection.
The source is the dir containing the metadata And the mapfile is the
mapfile as you described it in your documentation.

Many thanks!

Jose

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dorothea
Salo
Sent: Thursday, January 10, 2008 9:53 AM
To: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Uploading a 10Gig File. (Blanco, Jose)

On Jan 10, 2008 8:37 AM, Blanco, Jose <[EMAIL PROTECTED]> wrote:
> The things is I want to add the file to a record that has already been

> imported. I tried to export the item then replace it, but the replace 
> failed, does ItemImport do item replacement?  The documentation talks 
> about collection replacement, so I thought maybe I could just try an 
> item,  but it did not work.

You CAN export and replace an item, though it's not exactly a
straightforward process. I just happened to write a blog post about the
process the other day:
<http://cavlec.yarinareth.net/archives/2008/01/08/batch-replacing-items-
in-dspace/>.
You don't have to export the entire collection; DSpace can export and
reimport single items just fine.

If the process breaks down for you, post back and I'll see if I can
help.

Dorothea

-- 
Dorothea Salo                [EMAIL PROTECTED]
Digital Repository Librarian      AIM: mindsatuw
University of Wisconsin
Rm 218, Memorial Library
(608) 262-5493

------------------------------------------------------------------------
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for just about anything Open
Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketp
lace
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for just about anything Open
Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketp
lace
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to