ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: uppa on June 29, 2010, 04:49:03 AM

Title: copy the "Date Picture Taken" in "File Modification Date/Time"
Post by: uppa on June 29, 2010, 04:49:03 AM
I have a lot of jpg files that I have modified with a graphical program.

So the File Modification Date/Time is changed.

I would like to copy the "Date Picture Taken" in "File Modification Date/Time".

I explain better I want to copy the exif information from "Date Picture Taken" to file information "File Modification Date/Time".

If it's possible I would like a commad to change all files in one time.

Thx
Title: Re: copy the "Date Picture Taken" in "File Modification Date/Time"
Post by: Phil Harvey on June 29, 2010, 08:12:41 AM
First, run exiftool -s FILE on one of your files to determine the tag names.  Then use a command like this to copy the value of one tag to the other:

exiftool "-filemodifydate<datetimeoriginal" DIR

This command will process all files in directory DIR.

- Phil
Title: Re: copy the "Date Picture Taken" in "File Modification Date/Time"
Post by: uppa on June 29, 2010, 10:35:07 AM
All OK.

Thanx