Hello Raja,

The *source* argument is expecting a directory, as documented here:
https://wiki.duraspace.org/display/DSDOC5x/Importing+and+Exporting+Items+via+Simple+Archive+Format#ImportingandExportingItemsviaSimpleArchiveFormat-ImportingItems

So for example, if you have the directory called *item01*, its contents
should be something like this (as documented on the above link):

    *item01*/
        *dublin_core.xml *        -- qualified Dublin Core metadata for
metadata fields belonging to the dc schema
        *contents*                -- text file containing one line per
filename
        file_1.doc              -- files to be added as bitstreams to the
item
        file_2.pdf

The *dublin_core.xml* file should be something like:

<dublin_core>
 <dcvalue element="contributor" qualifier="author">Author</dcvalue>
 <dcvalue element="title" qualifier="none">Title</dcvalue>
 <dcvalue element="subject" qualifier="none">Subject</dcvalue>
 </dublin_core>

And finally, the *contents* file lists the digital objects for the record,
one object per line, as documented. So, for the current example, it should
be something like:
file_1.doc
file_2.pdf

The documentation I provide is regarding version 5 (you're using 4.2) but
it should work, the documentation doesn't change much.

Also, if you have the time and opportunity I strongly suggest that you
upgrade your installation to the latest stable release (6.0).

Hope this helps,

Pedro Amorim


2017-02-08 14:27 GMT-01:00 RajaKumar PonnuSamy <[email protected]>:

> Hello Pedro
>
> Thanks  for your Support
>
> /dspace/bin/dspace import --add [email protected]
> --collection=21 --source=home/Documents/MKU00.jpg
>  --mapfile=/dspace/assetstore/
>
> Please  clearly explain
>  the mapfile and and source file for example give me. this is help for me
>
>
> Thanks and Regards
> P.Rajakumar
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-community.
For more options, visit https://groups.google.com/d/optout.

Reply via email to