Hi, the jira for that has been created here [0], code is here [1]. Thanks for your comments
Nicolas [0] https://issues.apache.org/jira/browse/SLING-4286 [1] https://github.com/npeltier/org.apache.sling.typecleanup > On 12 Dec 2014, at 14:35, Nicolas Peltier <npelt...@adobe.com> wrote: > > Hi, > > i would like to clean up resources that have resource types not existing > (anymore). Not sure something like that exists already, if not i’m happy > developing something like the following right now (need it now basically :-): > > GET /content/blah.typecleanup.txt would send all resources with non existing > resources (among a configured set of patterns) > POST /configuration/resource?path=/content/blah(&file=…) would clean them up > > any hints/ideas ? > > Nicolas