[Dspace-general] Bulk upload facility
Serhiy Polyakov
sp0055 at gmail.com
Wed Nov 12 17:07:23 EST 2008
Shashank,
Quick question. Why do you need to store files in sub-directories before import?
Can you pool all of them in one dir?
Serhiy
2008/11/12 Shashank Sahni <shredder12 at gmail.com>:
> 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....
>
> _______________________________________________
> Dspace-general mailing list
> Dspace-general at mit.edu
> http://mailman.mit.edu/mailman/listinfo/dspace-general
>
>
More information about the Dspace-general
mailing list