[Dspace-general] Bulk upload facility

Shashank Sahni shredder12 at gmail.com
Wed Nov 12 13:35:01 EST 2008


Hey people,
                   I was able to resolve the earlier problem of not able to
import a sub-directory..but the kind of import that had taken place was not
satisfactory..
Let me show you in detail what i wanted and what actually happened
My directory structure was something like this.
*DIR/*
         file1.ext
         file2.ext
         file3.ext
         contents -->{
                                 *file1.ext
                                 file2.ext
                                 file3.ext
                                 sub_dir/sub_file1.ext
                                 sub_dir/sub_file2.ext
*                             }
         dublin_core.xml
         *sub_dir/
*                      sub_file1.ext
                      sub_file2.ext
                      contents --->{
                                               *sub_file1.ext
                                               sub_file2.ext
                                          * }
                      dublin_core.xml

Well by the way the directory *DIR/  *is in a directory *Parent_dir/*
when i imported this directory using the following command..

*/dspace/bin/import --add -e shredder12 at gmail.com -s address_of_Parent_dir/
-c collection_id -m mapfile
*
then the output was following..

the files in the collection were..
( i.e. this is the output)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
*file1.ext
file2.ext
file3.ext
sub_dir/sub_file1.ext
sub_dir/sub_file2.ext
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
*
and this is what i wanted..
(i.e. the output i intended..)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
*file1.ext
file2.ext
file3.ext
sub_dir/
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
*
and on clicking the link *sub_dir/  *i would get
------------------------------------------------------------------------------
*sub_file1.ext
sub_file2.ext
-----------------------------------------------------------------------------
* Is there any way to get such a format..??
Help please....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/dspace-general/attachments/20081113/7287bd94/attachment.htm


More information about the Dspace-general mailing list