This module is used to delete all media from a site. This is mainly a developer tool .

The usual way to do this is to go to Administration » Configuration » DEVELOPMENT: Batch Delete Media then select all the media and delete them or delete media by media type.

This module also provides the drush command to delete all the media through drush Command.

DRUSH COMMAND

: Delete all media
drush delete:all-delete-media --type

: Delete Media By Media Type
drush delete:all-delete-media --type image

Examples:
drush delete:all-delete-media --type image Delete all image media.

INSTALLATION
------------

* Install the Media Delete All module as you would normally install a
contributed Drupal module. Visit https://www.drupal.org/node/1897420
for further information.

CONFIGURATION
-------------

* Media Delete All from Administration » Configuration » DEVELOPMENT :Batch Delete Media Page
Batch Delete Media -> then select all the media and delete them.
Batch Delete Media -> then select media type and delete them.

Supporting organizations: 

Project information

Releases