Drupal is a registered trademark of Dries Buytaert
Views Bootstrap 5.5.2 Minor update available for module views_bootstrap (5.5.2). oEmbed Providers 3.0.0 Major update available for module oembed_providers (3.0.0). Byte (theme) 1.0.3 Minor update available for theme byte_theme (1.0.3). Token Content Access 3.1.3 Minor update available for module tca (3.1.3). Emulsify 7.2.1 Minor update available for theme emulsify (7.2.1). Opensolr Search 4.1.0 Minor update available for module opensolr_search (4.1.0). AG-UI 1.0.2 Minor update available for module agui (1.0.2). FileGate 1.5.0 Minor update available for module file_gate (1.5.0). oEmbed Providers 2.2.4 Module oembed_providers updated after 7 months of inactivity (2.2.4). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

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

Activity

Total releases
1
First release
Jul 2026
Latest release
8 hours ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
2.0.11 Stable Jul 31, 2026