Re: [Dspace-tech] Bitstream Description in Batch import
New Related question. On the web interface you can specify a thumbnail for a bitstream. Can you specify this in the contents file...for multiple bitstreams? For example, in the contents file we have the following bitstream1 bitstream1_thumb bistream2 bistream2_thumb I noticed that in the METS.xml for an item with a bitstream:bitstream_thumb pair, there is something called a GroupID And I believe this is how the two files are paired. Is there any way to specify this? Is it implied when you have consecutive entries, where one is in the CONTENT bundle and the other is in the THUMBNAIL? I haven't seen anything to indicate this but I could have missed it. Thanks Again, Joseph On Wed, May 25, 2011 at 14:29, Stuart Lewis wrote: > Hi Joseph, > > > 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 > > Try adding : > > - \tdescription: my description > > Other options are \tpermissions: and \tprimary:true > > > 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? > > If you perform an export via the web user interface, it downloads as a zip > file. There is also a 'give this to me as a zip file' option in the CLI > exporter. > > Inside the zip file is the normal import structure or directories 1.. / 2.. > / 3.. etc, each with metadata files and content files. The zip option makes > it easier to import these without first unzipping them. > > Thanks, > > > Stuart Lewis > Digital Development Manager > Te Tumu Herenga The University of Auckland Library > Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand > Ph: +64 (0)9 373 7599 x81928 > > -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Bitstream Description in Batch import
Hi Stewart, Thank you for pointing out these options for bitstreams in dspace import, as well as the zip option. Peter, Thanks for looking into this as well. I'm currently using your csv->SAFBuilder. I don't think it supports multiple bitstreams in a single item. If I can figure out a way for it to do so, I'll add to SAFPackage to allow descriptions, permissions, and primary bitstream identification. I'm looking at creating folio items--much like the ones at the Texas A&M Repository http://repository.tamu.edu/handle/1969.1/2961 We get rolls of film that come from archaeological digs, and for most of them, it's better to consider a roll as an item if possible. If I come up with tools to help with this sort of thing, I'll be sure to share it. Thanks Again, Joseph On Wed, May 25, 2011 at 14:29, Stuart Lewis wrote: > Hi Joseph, > > > 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 > > Try adding : > > - \tdescription: my description > Other options are \tpermissions: and \tprimary:true > > > 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? > > If you perform an export via the web user interface, it downloads as a zip > file. There is also a 'give this to me as a zip file' option in the CLI > exporter. > > Inside the zip file is the normal import structure or directories 1.. / 2.. > / 3.. etc, each with metadata files and content files. The zip option makes > it easier to import these without first unzipping them. > > Thanks, > > > Stuart Lewis > Digital Development Manager > Te Tumu Herenga The University of Auckland Library > Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand > Ph: +64 (0)9 373 7599 x81928 > > -- 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
Re: [Dspace-tech] Bitstream Description in Batch import
Hi Joseph, > 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 Try adding : - \tdescription: my description Other options are \tpermissions: and \tprimary:true > 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? If you perform an export via the web user interface, it downloads as a zip file. There is also a 'give this to me as a zip file' option in the CLI exporter. Inside the zip file is the normal import structure or directories 1.. / 2.. / 3.. etc, each with metadata files and content files. The zip option makes it easier to import these without first unzipping them. Thanks, Stuart Lewis Digital Development Manager Te Tumu Herenga The University of Auckland Library Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand Ph: +64 (0)9 373 7599 x81928 -- 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
Re: [Dspace-tech] Bitstream Description in Batch import
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.pdfbundle:ORIGINAL contentfile2.pdfbundle:ORIGINAL license.txtbundle:LICENSE And you can see where the \tbundle: 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: Peter Dietz On Wed, May 25, 2011 at 12:14 PM, Joseph 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