Image replacement question

Started by davidcalvin, September 04, 2014, 04:10:57 PM

Previous topic - Next topic

davidcalvin

Hello,

I've been pouring over docs and faqs for a little while now. I think I see a solution for my problem but I am wondering if there is an easier way.

Is there a way to point extool at an image and either replace the image data with some other image (JPG or whatever), or point exfitool at a directory and get it to create mimics of the images with the exact exif data but without the actual image data in the images? I need to hand off a very very large number of images to some people but they can't have the actual images, the exif data.

Shot in the dark, sorry for the lame question.

David

Phil Harvey

Hi David,

ExifTool can not be used to modify an image.  So the best thing you can do is use something else to create the image you want, then use ExifTool to copy the metadata from the original.  If the corresponding images have the same names but are in different directories, this can be done like so:

exiftool -tagsfromfile ORIGINALS_DIR/%f.%e -all:all MODIFIED_DIR

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

davidcalvin


Yeah, I figured that would be the case. I can work up a script to wrap exiftool.

Thanks,

David