Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Remove Unused Files

No security coverage Under active development 174 sites

This module allows you to remove unused files from your Drupal site. It treats them as temporary files, which can then be automatically cleaned up by Drupal's cron process. A Drush command and a form-based interface are available to manage this cleanup.

Did you know that you cannot be remove unused files in default using?

This module provides the ability to treat files that are unused in the drush command as temporary files.
It seems that Drupal Core has a function to remove temporary files during cron processing after a certain period of time.

Available drush command: drush remove_unused_files

* Just in case, You should back up the Public Files, Private Files, and Database of your Drupal site before running "remove_unused_files".
* Includes a submodule "remove_unused_files_form" that allows you to use the same functionality from menu links.
* remove_unused_files_link has been deprecated so please uninstall it and use remove_unused_files_form.

Drupal 10–11 PHP 8.1

Ask your assistant about Remove Unused Files

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • file Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
May 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
2.1.0 Stable 10–11 PHP 8.1 Jun 28, 2024
2.x-dev Dev 10–11 PHP 8.1 Jun 28, 2024
2.0.0 Stable 9–10 PHP 8 May 23, 2023
2.0.x-dev Dev 9–10 PHP 8 May 23, 2023