My understanding is that the Dspace importer looks for a directory
structure when importing items.  When we do bulk imports, we point a a
directory that contains another directory for each of our items, that then
contains our xml, contents, and bitstreams.  So, we point the import
command to a directory, say /tmp/dsploader, and in that directory we have
other directories, typicallyed number 1 to whatever number of items we
have.  in folder 1 we have a dublin_core.xml, contents, and the actual
bitstreams, and so on and so forth.

Maybe if you step up one directory level in your command prompt it would
solve your problem?  Like:

./dspace import -a -e dsp...@meclibrary.com -c 123456789/18 -s
/media/Maheshwara/import/ -m mapfilest


--
Barry J. Davis Jr.
Coordinator, Multimedia and
Digital Production Services
Z. Smith Reynolds Library
Wake Forest University
(336)758-6172
dav...@wfu.edu



On Fri, Jan 20, 2012 at 12:32 AM, mailramk <mailr...@yahoo.co.in> wrote:

> I am trying to import 6 mp4 files into dspace. I had created the archive
> format using DRC-import.zip provided somewhere on the net. my folder
> structure is /media/Maheshwara/import/SOM
> which contains the video files, dublin_core.xml, contents file.
>
> I ran the following command but the items are not showing in the interface.
>
> ./dspace import -a -e dsp...@meclibrary.com -c 123456789/18 -s
> /media/Maheshwara/import/SOM -m mapfilest
> Destination collections:
> Owning  Collection: Strength of Materials
> Adding items from directory: /media/Maheshwara/import/SOM
> Generating mapfile: mapfilest
> Started: 1326946590414
> Ended: 1326946590707
> Elapsed time: 0 secs (293 msecs)
>
>
> dubline_core.xml contents:
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <dublin_core>
>
>  <dcvalue element="dc.contributor.author" qualifier="none">Dr. Suraj
> Prakash Mehra</dcvalue>
>
>  <dcvalue element="dc.date.issued" qualifier="none">19/01/2012</dcvalue>
>
>  <dcvalue element="dc.description.abstract[en_US]"
> qualifier="none">Strength of Materials</dcvalue>
>
>  <dcvalue element="dc.description.sponsorship[en_US]"
> qualifier="none">Mechanical & Industrial Engineering Department,IIT,
> Roorkee</dcvalue>
>
>  <dcvalue element="dc.subject[en_US]" qualifier="none">Strength of
> Materials</dcvalue>
>
>  <dcvalue element="dc.title[en_US]" qualifier="none">Strength of
> Materials</dcvalue>
>
>  <dcvalue element="dc.type[en_US]" qualifier="none">Video</dcvalue>
>
>  </dublin_core>
>
>
>
> contents file:
>
> lec01.mp4       bundle:ORIGINAL
> lec02.mp4       bundle:ORIGINAL
> lec03.mp4       bundle:ORIGINAL
> ....
>
>
>
> --
> View this message in context:
> http://dspace.2283337.n4.nabble.com/Batch-Import-is-not-working-tp4312453p4312453.html
> Sent from the DSpace - Tech mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to