Hi Dorothea:
Thanks a lot for your help!
In my case, the handle is 123456789/2.
So I used the following command to add
a pdf file under /User/pan/tmp, but somehow
the pdf file was not added into the collection
and the file test_map is empty. No error
message was shown either. I wonder what
I did wrong. Could you give me some ideas
on how to debug?
Thanks again,
-Pan
bubba:~/dspace-1.4.1-source/bin pan$ dsrun
org.dspace.app.itemimport.ItemImport --add
[EMAIL PROTECTED]/2
--source=/Users/pan/tmp/
--mapfile=/Users/pan/tmp/test_map
Destination collections:
Owning Collection: PODAAC collection
Adding items from directory: /Users/pan/tmp/
Generating mapfile: /Users/pan/tmp/test_map
On 1/29/07, Dorothea Salo <[EMAIL PROTECTED]> wrote:
Pan Family wrote:
> dsrun org.dspace.app.itemimport.ItemImport --add
> [EMAIL PROTECTED] --collection=collectionID --source=items_dir
> --mapfile=mapfile
>
> Hi,
>
> The above command for batch import requires
> the collectionID as input. I wonder how
> I can find out this ID? Is it the string
> that I used to name my collection, or an ID
> that DSpace uses internally?
You can use the collection's handle for this; go to the
collection's home page
and use the numbers after "handle/" in the URL.
If you should need the internal DSpace collection ID for some
reason, though,
log in, surf to the collection page, and then use the "Edit" button under
Admin
Tools. From there, choose "Collection's Authorizations," and DSpace will
pop up
the "DB ID" in the title of the page.
(I hope there's an easier way to do this! There certainly should
be.)
Dorothea
--
Dorothea Salo, Digital Repository Services Librarian
(703)993-3742 [EMAIL PROTECTED] AIM: gmumars
MSN 2FL, Fenwick Library
George Mason University
4400 University Drive, Fairfax VA 22031
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech