New Package: uMediaOps

Hey everyone, I just published my first open-source Umbraco package: uMediaOps.

Honestly, I built this out of self-defense. If you’ve worked in Umbraco long enough, you know the feeling of staring at a massive media library, seeing 20 versions of the same image, and being completely terrified to delete any of them because you don’t know if they are linked in a view somewhere.

I got tired of playing that guessing game (and stressing over it), so I wrote a tool to handle it automatically.

It basically does three things:

  • Finds unused media (deep-scans your content, views, CSS, templates, etc.)

  • Spots exact duplicate files using hashing

  • Lets you take a quick backup before you start deleting things

It works natively on Umbraco 17+ (SQL Server & SQLite).

If you ever deal with messy media folders, feel free to give it a try. It’s completely free, and I’d love to hear what you think or if you catch any bugs!

https://shekhartarare.dev/work/umediaops/

2 Likes

Welcome to the forum @ShekharTarare !

That sounds like a very useful package - does it work when using images stored externally such as Azure Blob or S3?

Thanks Justin. It’s the first version and I have kept it for local media only. It might work partially for other storage providers. But, I can assure, there are plans to make this ready for other storage providers as well, I am currently looking into those.

1 Like

Also, it may need to take into account very large media libraries with GB of media, not sure how far you’ve tested it?

Definitely. I have tried with 1000s of files. but large-scale testing is on the roadmap.

1 Like