Recently, I had to make mass changes to nodes while adding a new feature to a live website.
In one case, I wanted to add a date field to a content type with hundreds of existing nodes. For the sake of simplicity, best date that could be used for this field was the created date of the node. With that information, I was able to write the following script to replace any empty date fields with the created date. continue ...