Drupal - Can I delete nodes of a given content type with Drush?

Install the devel module, and use drush to delete all the nodes,

$  drush genc --kill 0 0 

You can also give a type option,

$  drush genc --kill --types=article 0 0

Drush 9

drush entity:delete node --bundle=my_content_type


I guess you can by using the below command

drush node_delete <nid>

EDIT: Found a module that does something/related to the question

http://drupal.org/project/delete_all

Usage

Drush

drush delete-all

Example: drush delete-all article

Tags:

Drush