4 votes

MediaCleaner

MediaCleaner: an efficient way to keep your Media clean. 

MediaCleaner analyzes the content of the Media folder and the content of the Media section of Umbraco, then extracts the files that are present in the media folder but not in the Umbraco Backoffice and the Media items without a valid file in the Media folder.

Unlike other similar packages, it uses the Umbraco Business Objects, there are no direct queries to the database, which means lightweight execution and compatibility with all the database types supported by Umbraco (SQL Server and MySQL).

The feature is available to all the Backoffice users that can access the Media section, but only the ones that belong to the Administrator group can clean the files. 

Consider to make a backup before cleaning the files and folders. 

ChangeLog for version 0.97

 

  • Solved a problem during the installation of the package;

ChangeLog for version 0.96

 

  • Optimizations to perform a quicker scan;

 

ChangeLog for version 0.95

  • Service release for version 0.94 that fails on websites with large content;

ChangeLog for version 0.94

  • Now all the content (published or not) is parsed in order to filter the orphan files that may be present in the content as URL but without Media Item;
  • The folder created-packages is excluded from the processing;

 

Screenshots

Project owner

Michele Di Maria

Michele Di Maria

Michele has 198 karma points

Project Compatibility

This project is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
7.10.x (untested)
7.9.x (100%)
7.8.x (100%)
7.7.x (100%)
7.6.x (100%)
7.5.x (100%)
7.4.x (100%)
7.3.x (100%)
7.2.x (100%)
7.1.x (100%)
7.0.x (100%)
6.1.x (untested)
6.0.x (untested)

You must login before you can report on package compatibility.

Project Information

  • Project owner: Michele Di Maria
  • Created: 08/12/2017
  • Current version 0.97
  • .net Version 4.5.2
  • License MIT
  • Downloads: 314