Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Charts 5.2.4 Minor update available for module charts (5.2.4). Release: Tagify 2.0.3 Minor update available for module tagify (2.0.3). Release: Tagify 1.2.54 Minor update available for module tagify (1.2.54). Release: ECA: Event - Condition - Action 3.1.8 Minor update available for module eca (3.1.8). Release: GoogleTag Manager 2.0.5 Minor update available for module gtm (2.0.5). Release: GoogleTag Manager 2.0.4 Minor update available for module gtm (2.0.4). Release: X-Frame-Options Allow-From webvisor.com 2.0.4 Minor update available for module xframe_allow_webvisor (2.0.4). Release: Commerce ML Starter 2.0.5 Minor update available for module cmlstarter (2.0.5). Usage Milestone: Easy Email Module easy_email crossed 10,000 active installs. Security Coverage: Menu Link By Default Module menu_link_by_default now has official Drupal security advisory coverage.

Fancy File Delete

7,599 sites Security covered Drupal 8–11
View on drupal.org

This module provides tools to manage and delete files within Drupal. It allows for the deletion of individual files by ID, the removal of unused or unmanaged files, and bulk deletion options through Views Bulk Operations and Drush commands.

A Module that can finally delete files properly!

What this module can do:

  1. View of all managed files with an option to force delete them via VBO custom actions
  2. Manually deleting managed files by FID (and an option to force the delete if you really want to).
  3. Deleting unused files from the default files directory that are not in the file managed table. AKA deleting all the unmanaged files.
  4. Deleting unused files from the whole install that are no longer attached to nodes & are still in the file usage table. AKA deleting all the orphaned files.
  5. Delete files via drush by fid(s)

Drush Command

You can provide a single fid or a list of fids separated by commas.

drush fancy:file-delete FID
drush fancy-file-delete FID
drush ffd FID

Failure to add the fid to the drush command results in an error as a FYI.

Drupal 8/9

Requirements

VBO

You will also need a core patch so you can delete the files of other users as outlined in this issue #3169116: Manual delete works while selecting from the list doesn't. The patch in this issue seems to work well.

Finally after not doing much with this module since 2015, on May 24, 2020, Fancy File Delete 2.0.x version is D8 / D9 ready. It is pretty much feature parity with the D7 version.

There is a couple small things left to do, nothing major though...

Note: If you were using the 8.x-1.x dev version that was here for awhile. Uninstall it and use the 2.0.x versions going forward

Drupal 7

Requirements

Entity
Views
VBO

Similar-ish Modules
Audit Files
File Delete (D8)
Delete Files
Force File Delete

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Jul 2026
Latest release
1 month ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
2.0.11 Stable 8–11 Jul 31, 2026