How to find and delete nodes with duplicate titles? I used Feeds, and for some reason it imported several nodes multiple times; now I have many duplicates.

How could I easily find and delete such nodes?
This Drupal 6 script should do the job for you.