Thanks billion Tim Donohue!
Your sharing is very valuable for me now. I really want to submission batch 
into DSpace (jspui).
Please guide me more details:
Example:
I have a folder: DOCS consists 3 files: 1.pdf, 2.pdf, 3.pdf. So, I want to 
batch submit in to a collection (collection's id: 123456689/3). Please 
guide me step by step to do this.
Thanks in advance!
Sincerely!
Pham Quang Quyen (Librarian of Viet Nam).

On Monday, June 18, 2018 at 9:47:35 PM UTC+7, Tim Donohue wrote:
>
> Hi Arthur,
>
> Yes, you can specify the bundle in the "contents" file that you pass to 
> the `dspace itemupdate` method.
>
> The "contents" file format is described at the end of this section of the 
> documentation: 
> https://wiki.duraspace.org/display/DSDOC6x/Importing+and+Exporting+Items+via+Simple+Archive+Format#ImportingandExportingItemsviaSimpleArchiveFormat-DSpaceSimpleArchiveFormat
>
> As noted there, you can specify the bundles that files are uploaded into 
> by using the "\tbundle:" prefix (where \t is a tab character). So for 
> example, this contents file would add the file "myfile.pdf" to the ORIGINAL 
> bundle (again, remember \t should be a literal tab character)
>
> myfile.pdf\tbundle:ORIGINAL
>
> Good luck,
>
> Tim
>
> On Fri, Jun 15, 2018 at 5:07 PM Arthur H L R S <[email protected] 
> <javascript:>> wrote:
>
>> Thank you. It worked. I wonder if I can choose the BUNDLE for adding a 
>> bitstream using this method.
>>
>>
>>
>> Em sexta-feira, 15 de junho de 2018 11:59:51 UTC-3, Tim Donohue escreveu:
>>
>>> Hi Arthur,
>>>
>>> That `dspace packager` command for PDFs is only able to create *new* 
>>> items (from an existing PDF), and is not able to update an existing item 
>>> with a new PDF.  Unfortunately, that's just how that command works. The 
>>> only way to update an existing item using the "packager" command would be 
>>> to generate a full AIP (Archival Information Package) and run a "replace": 
>>> * AIP Format: 
>>> https://wiki.duraspace.org/display/DSDOC6x/DSpace+AIP+Format
>>> * Replace mode: 
>>> https://wiki.duraspace.org/display/DSDOC6x/Importing+and+Exporting+Content+via+Packages#ImportingandExportingContentviaPackages-ForceReplaceMode
>>>
>>> However, I don't think this is a very easy way to upload a single file 
>>> to an existing item.  It's complex to create a full AIP (unless you are 
>>> exporting them directly from DSpace).
>>>
>>> Instead, I think you'll find it easier to use the `dspace itemupdate` 
>>> command, which is more created for this purpose.  See the documentation at: 
>>> https://wiki.duraspace.org/display/DSDOC6x/Updating+Items+via+Simple+Archive+Format
>>>  
>>>
>>> Good luck, if you run into further problems, feel free to ask on this 
>>> list.
>>>
>>> Tim
>>>
>>> On Thu, Jun 14, 2018 at 2:11 PM Arthur H L R S <[email protected]> 
>>> wrote:
>>>
>> I want to automatize upload a file to each item i have on my repository.
>>>>
>>>> I thought I could use the packager, like:
>>>>
>>>> "dspace packager -e [email protected] -i 1234/2802 -t PDF /pdf/test.pdf"
>>>>
>>> But by doing it, it givs me the error:
>>>>
>>>> * Authorization attempted on null DSpace object ADD by user 127.*
>>>>
>>>>
>>>> What I am doing wrong? There is other ways to upload a single file (pdf 
>>>> or image) on multiple already existent itens?
>>>>
>>>> Thanks in advice. 
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "DSpace Technical Support" group.
>>>>
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected].
>>>> To post to this group, send email to [email protected].
>>>
>>>
>>>> Visit this group at https://groups.google.com/group/dspace-tech.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> -- 
>>> Tim Donohue
>>> Technical Lead for DSpace & DSpaceDirect
>>> DuraSpace.org | DSpace.org | DSpaceDirect.org
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
> -- 
> Tim Donohue
> Technical Lead for DSpace & DSpaceDirect
> DuraSpace.org | DSpace.org | DSpaceDirect.org
>

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to