[Dspace-general] Not import add

Claudia Juergen Claudia.Juergen at ub.uni-dortmund.de
Wed Oct 1 15:33:15 EDT 2008


Hi,

the source option of the import references the directory where the single
directories per item are, thus in you should use
--source=/home/dspace/my_import
instead of
--source=/home/dspace/my_import/item1

hope that helps

Claudia Jürgen

> I run the script
>
> -----
> # ./import --add --eperson=usuario_dspace at gmail.com --collection=2
> --source=/home/dspace/my_import/item1 --mapfile=mapfileG
> Destination collections:
> Owning  Collection: Coleccion 2
> Adding items from directory: /home/dspace/my_import/item1
> Generating mapfile: mapfileG
> -----
>
> But mapfileG is empty and not import nothing to collection "Coleccion 2"
>
> The content of  source = /home/dspace/my_import/item1 is
>
>  - imagen.jpg
>  - contents
>  - dublin_core.xml
>  - handle
>  - license.txt
>
> Someone knows which should be the content of the file generated "mapfileG"
> or lack any condition in the execution of the script ?.
>
> Thank you.
> _______________________________________________
> 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