Re: [dspace-tech] Batch delete items in DSpace 4

2017-06-21 Thread Gary Browne
Hi Àlex,

Great – I wasn’t aware that you could delete items with this system. As the 
name suggests, I thought it was only for “metadata editing”!

Thanks a lot,
Gary


Gary Browne | Technical Manager, Developments
Online Services
University of Sydney Library
THE UNIVERSITY OF SYDNEY
Level 1, Fisher Library F03, The University of Sydney NSW 2006
T +61 2 9351 5946 | M +61 405 647 868
E gary.bro...@sydney.edu.au 

Sent from my plain old desktop computer

On 21/6/17, 4:54 pm, "dspace-tech@googlegroups.com on behalf of Àlex Magaz 
Graça"  
wrote:

El 21/06/17 a las 01:47, Gary Browne escribió:
> Hi all,
>
> A seemingly simple task - I want to delete some items from DSpace 4.1
> (Tomcat7, RHEL 6, Apache 2.2) based on matching values in a custom
> metadata field.
>
> Really I've searched a lot on Googs and Duraspace but cannot find any
> examples. I'm reluctant to do a SQL delete of an item without checking
> here first, as I don't know what the knock-on effects might be and what
> cleanup might need to be done. Would SQL be the best tool here or REST
> API or wildcard tool? In some cases there are up to 2000 records
> matching a particular value that need to be deleted, so I don't want to
> do it by hand.
>
> Any guidance/references would be much appreciated.
>
> Thanks,
> Gary
>
> -- 
> 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 dspace-tech+unsubscr...@googlegroups.com
> .
> To post to this group, send email to dspace-tech@googlegroups.com
> .
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
Hi Gary,

The easier way would be to use the batch metadata editing feature. See here:


https://wiki.duraspace.org/display/DSDOC4x/Batch+Metadata+Editing#BatchMetadataEditing-Performing%27actions%27onitems

Cheers,
Àlex

-- 
You received this message because you are subscribed to a topic in the 
Google Groups "DSpace Technical Support" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/dspace-tech/-QzFpTcbo4U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.



-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Batch delete items in DSpace 4

2017-06-20 Thread Àlex Magaz Graça

El 21/06/17 a las 01:47, Gary Browne escribió:

Hi all,

A seemingly simple task - I want to delete some items from DSpace 4.1
(Tomcat7, RHEL 6, Apache 2.2) based on matching values in a custom
metadata field.

Really I've searched a lot on Googs and Duraspace but cannot find any
examples. I'm reluctant to do a SQL delete of an item without checking
here first, as I don't know what the knock-on effects might be and what
cleanup might need to be done. Would SQL be the best tool here or REST
API or wildcard tool? In some cases there are up to 2000 records
matching a particular value that need to be deleted, so I don't want to
do it by hand.

Any guidance/references would be much appreciated.

Thanks,
Gary

--
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 dspace-tech+unsubscr...@googlegroups.com
.
To post to this group, send email to dspace-tech@googlegroups.com
.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Hi Gary,

The easier way would be to use the batch metadata editing feature. See here:

https://wiki.duraspace.org/display/DSDOC4x/Batch+Metadata+Editing#BatchMetadataEditing-Performing%27actions%27onitems

Cheers,
Àlex

--
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Batch delete items in DSpace 4

2017-06-20 Thread Gary Browne
Hi all,

A seemingly simple task - I want to delete some items from DSpace 4.1 
(Tomcat7, RHEL 6, Apache 2.2) based on matching values in a custom metadata 
field.

Really I've searched a lot on Googs and Duraspace but cannot find any 
examples. I'm reluctant to do a SQL delete of an item without checking here 
first, as I don't know what the knock-on effects might be and what cleanup 
might need to be done. Would SQL be the best tool here or REST API or 
wildcard tool? In some cases there are up to 2000 records matching a 
particular value that need to be deleted, so I don't want to do it by hand.

Any guidance/references would be much appreciated.

Thanks,
Gary

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Batch Delete Items

2016-02-02 Thread Nushrat Khan
Hi,

I need some advice regarding batch deletion of items. I was trying to 
delete a group of items by a specific author on DSpace 5. For now I was 
able to delete multiple items using DELETE /items/{item id} on Curl by 
specifying the item IDs. But is there any better way to batch delete items 
based on specific condition?

Thank you,
Nushrat

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.