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

"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype