How to bulk delete all revisions besides current revision for all nodes from all content types?

Created on 19 February 2024, about 1 year ago
Updated 16 July 2024, 9 months ago

I want to bulk delete all revisions besides current revision for all nodes from all content types.

On Drupal 10.2.2 I have installed the module this way:

cd WEBSITE_DIR
composer require 'drupal/node_revision_delete:^2.0@alpha'
drush en node_revision_delete

I then tried to run this command:

vendor/bin/drush nrd-delete-prior-revisions

I got:

Command "nrd-delete-prior-revisions" is not defined.

How to bulk delete all revisions besides current revision for all nodes from all content types?

💬 Support request
Status

Fixed

Version

2.0

Component

Miscellaneous

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024