mass update campain code

Does anyone know of a script or process that will allow you to update the campaign code on all gifts and pledges in a date range?