I've uploaded a patch to JIRA to allow batch purging of objects from the 
command line (fedora-purge.* scripts):

https://jira.duraspace.org/browse/FCREPO-756

I included an integration test for this new feature in the patch also.

To use it, in place of a pid as the fourth argument on the command line, 
you give a "file:/..." URL as the parameter.  This file contains a list 
of PIDs, one per line, to purge.  You can use the results of a resource 
index query to generate the file (that's what we do).

The patch was generated against the 3.4 tagged release.

-- Scott

-- 
Scott Prater
Library, Instructional, and Research Applications (LIRA)
Division of Information Technology (DoIT)
University of Wisconsin - Madison
pra...@wisc.edu

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Fedora-commons-developers mailing list
Fedora-commons-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers

Reply via email to