Remove exif data without altering the modified date and time?

Started by imajica, April 14, 2024, 10:23:24 PM

Previous topic - Next topic

imajica

I want to be able to remove all metadata from a file.... so this is what I am doing:

exiftool.exe -overwrite_original -all= filename.jpg

This works... except that it changes the modified date to the current date and time.  Is there a way to remove the data, but leave the modified date and time alone?

Thanks,

StarGeek

* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).