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 [EMAIL PROTECTED] --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
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/dspace-general
>


_______________________________________________
Dspace-general mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/dspace-general

Reply via email to