Audit files is designed to perform audits of your upload directory and the corresponding database records. It will cross check that all files in the database have a corresponding physical file, or it will check that all files in the upload directory have a corresponding entry in the database.
This module can be helpful in identifying orphan files that have not been deleted when their corresponding node was removed.
The module has configurable options to ignore specified files and/or directories.
The reports allow you to permanently remove files or database entries that represent orphans.
Versions
| Major version | 4.2.x | 4.3.x (Future) |
|---|---|---|
| Drupal core | ^10.3 | ^10.3 |
| PHP Compatibility | >=8.1 | >=8.2 |
| Stability | Stable | N/A |
| Support | Bug fixes | New features and bug fixes |
| Until PHP 8.1 security support ends or Drupal 10.1 EOL, whichever is earlier. | Until PHP 8.3 security support ends or Drupal 11.0 EOL, whichever is earlier. |
Supporting organizations:
Maintenance
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.- Project categories: Media
5,512 sites report using this module
- Created by Stuart Greenfield on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.




