jleehr/file_deleter

Deletes files provided by CSV file.

1.0.0 2023-08-02 05:49 UTC

This package is auto-updated.

Last update: 2024-05-31 00:34:41 UTC


README

Drupal File Deleter Modul

Deletes files provided by a CSV file.

Requirements

  • Drupal 9 | 10
  • Drush >9

Installation

Usage

  • Create a CSV file with the file paths including the prefixed stream wrapper. There should be one file in each row. E.g. public://path_to_file/file.ext

  • Name the CSV file delete.csv and copy it to the public file path.

  • Execute the Drush command drush file-deleter:run.

  • The files will be deleted. Files that are not deleted are logged.