[Dspace-tech] batch import, nothing happening

2009-04-20 Thread Sarah Ryder
Hi folks I'm running 1.5.1 on a Debian server and I'm attempting to run a batch import (just w/ 1 item and 4 files at the moment to test). I'm running the following command: dsrun org.dspace.app.itemimport.ItemImport --add --eperson=sj...@hampshire.edu --collection=1 --source=/tmp/dva0001

Re: [Dspace-tech] batch import, nothing happening

2009-04-20 Thread Claudia Jürgen
Hi Sarah, you got the source file wrong. The source file must contain one directory per item to be imported. Try mkdir /tmp/testimport/item01 cp /tmp/dva0001/* /tmp/testimport/item01 then run dsrun org.dspace.app.itemimport.ItemImport -a -e sj...@hampshire.edu -collection=1 -s /tmp/testimport

Re: [Dspace-tech] batch import, nothing happening

2009-04-20 Thread Thomas A McGee
One, try running it with the test flag ( -t ) at the end of the command line. Two, your collection ought to look something like 12345/1, not just 1, where 12345 is the handle (12345789 is the default you use if you haven't set up your handle service yet, I think). --Tom

Re: [Dspace-tech] batch import, nothing happening

2009-04-20 Thread Sarah Ryder
Haha I definitely just had one of those moments where I had to slap myself in the forehead for not noticing that. Thanks for pointing that out! 8) -Sarah Ryder Web Development Hampshire College 413.559.5477 On Mon, 20 Apr 2009, Claudia Jürgen wrote: Hi Sarah, you got the source file