How can I find unused media assets?

Vote:
 

Is there anything in the ContentSoftLinksRepository to find all media assets which are NOT being used -- so which have no soft links inbound to them?  Or do I need to iterate them all and check each one?

#121262
May 05, 2015 23:18
Vote:
 

If you find a solution please share it because I also wan't to do this.
I do it right now by getting all content by type and then getting all from softlinks and compare with LINQ expression. Not the best solution, but it works.

#121273
May 06, 2015 9:00
Vote:
 

I have it working by simple brute force, much like you probably did.  It works, but I imagine it won't scale.

I have it ina gadget, which is pulled async, so you get the little "Working..." graphic while it puls.  Takes about a second in the default Alloy site.

#121289
Edited, May 06, 2015 11:36