I want to be able to share the RAW files my camera produces, including EXIF data, with the one exception that I want to remove the camera (and lens if that is also recorded) serial number(s) to avoid any opportunity for someone with bad motives to cause problems. I need to do this on Linux (preferrably distro neutral, source is better, but I do have Slackware and Ubuntu).
I have dcraw but it seems to not have any option to do this. I did find other tools to delete EXIF data or serial numbers, but all were for JPEG or PNG or TIFF. The appropriate tool would need to write out a new .CR2 file without the serial number(s), or zeros substituted for the serial number(s). But I want all the technical aspects to be available in these RAW files so people can do their own processing of them with whatever they have.