ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: websupernet on September 15, 2010, 06:50:35 PM

Title: Sample command line to keep original date of EXIF data
Post by: websupernet on September 15, 2010, 06:50:35 PM
Is there a sample command line for keeping the original date in the EXIF Data while removing all the rest of the data?  I tried to do it with Irfanview but it does not work even though it gives you the option to save the original date, it only saves with the current date.
Thanks,
Dan
Title: Re: Sample command line to keep original date of EXIF data
Post by: Phil Harvey on September 16, 2010, 09:05:39 AM
Hi Dan,

This may do what you want:

exiftool -all= -tagsfromfile @ -datetimeoriginal FILE

- Phil