SUSHI Feature - Bulk WebPart Customization
This feature enables the bulk updating of Webparts. It can be customized to meet your individual needs.
Note that further development is planed on this feature to make it more generalized. Currently much of the logic is hard-coded so that you will need to edit the C# code to meet your needs. But the code gives good examples of how to interact with SharePoint