How to use the Item Update Tool?

33 views
Skip to first unread message

Niko B.

unread,
Aug 2, 2023, 3:09:02 AM8/2/23
to DSpace Community
Hi all,

i have read the documentation about the item update cli command, but i dont understand how to interpret the parameter -s [path/to/archive]. Shouldn't i just give the item handle to update the item?


DSpace Community

unread,
Aug 4, 2023, 1:01:23 PM8/4/23
to DSpace Community
Hi,

The "-s" parameter lets the "itemupdate" script know where your files are that you want to use for the update. Otherwise the "itemupdate" script won't understand which directory to use for the update.  The documentation can be found at https://wiki.lyrasis.org/display/DSDOC7x/Updating+Items+via+Simple+Archive+Format

Tim

Niko B.

unread,
Aug 6, 2023, 4:46:51 AM8/6/23
to DSpace Community
Thanks for the response, i have looked through the item update documentation but i dont understand how to update 1 item. Could you help me out with 1 example? In my use case i am registering files instead of importing them, but that should not make a difference.

What already works for me:
I managed to register media and metadata by creating a SAF structure, following docs https://wiki.lyrasis.org/display/DSDOC7x/Registering+Bitstreams+via+Simple+Archive+Format 
which created item A in my DSpace instance. I used a command like this 
[dspace]/bin/dspace import -a -e my_user@user.com -c my_collectionID -s [dspace]/myfolder/SAF1 -m my_mapfile 

Whats not working:
Now i want to update item A by adding 1 test file (e.g. a text file which is located at [dspace]/myfolder/textfile). 

How would i update the item? 
Reply all
Reply to author
Forward
0 new messages