Hi Joseph,

It looks like you can't do that through CLI.

You can specify the bundle:

The bitstream name may optionally be followed by the sequence:
*\tbundle:bundlename*

So, you can specify bundle through:
contentfile1.pdf    bundle:ORIGINAL
contentfile2.pdf    bundle:ORIGINAL
license.txt            bundle:LICENSE

And you can see where the \tbundle:<BUNDLE-NAME> is tokenized
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/app/itemimport/ItemImport.java#L1156

So, if this is needed, you could modify ItemImport to accept
\tdescription:<TEXT-FOR-DESCRIPTION>


Peter Dietz



On Wed, May 25, 2011 at 12:14 PM, Joseph <joseph.rho...@gmail.com> wrote:

> Dear DSpace-tech,
>
> I know you can add a description to a bitstream when you upload it through
> the XMLUI
> Can you do this when you do a batch upload using the CLI?
> >dspace import
>
> Also,
> >dspace import -h
> shows an option "-z" for a zip file.
> The Documentation doesn't describe how to use this option, (or mention it)
>
> http://www.dspace.org/1_7_1Documentation/System%20Administration.html#SystemAdministration-ItemImporterandExporter
> Does anyone have experience using this option?
>
> Thank You,
> Joseph
>
>
>
> ------------------------------------------------------------------------------
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery,
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now.
> http://p.sf.net/sfu/quest-d2dcopy1
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to