How To Selectively (or Completely) Delete Drupal Content By Node Type
Lots of times during the development of a Drupal site, I need to quickly delete all node content, often of a particular type. I've found that a quick and easy way to accomplish this is with the Devel Generate module, which comes as part of Devel project.
- Download and install the module. I'm using Drupal 6.15 and Devel 6.x-1.18
- Go to admin/generate/content
- Select which node types you want to operate on.
- Check the box for "Delete all content in these node types before generating new content."
- Set the value for "How many nodes would you like to generate?" to zero.
- Submit the page and content be gone.
Very handy tool indeed. Thanks "Devel"opers.




