ExifTool Forum

ExifTool => Newbies => Topic started by: TAWL on October 10, 2017, 03:57:25 AM

Title: Copy tags from one file to another
Post by: TAWL on October 10, 2017, 03:57:25 AM
Hi!

I've converted some .MTS files to .m4v to save Disc space. I got impressive results, but the exif data is lost.

Now I'm looking for a solution to Batch some of the original tags from the .MTS files to the .m4v files (same filename).

After reading the .MTS with Exiftool I find These tags useful:
Date/Time Original
maybe File Modification Date/Time
the GPS Tags
Make
Camera Model Name

Do you know a way to get the mighty Exiftool doing this for me? :)
Title: Re: Copy tags from one file to another
Post by: Phil Harvey on October 10, 2017, 07:15:22 AM
ExifTool can be used to write XMP to M4V files, so you could do this: 

exiftool -tagsfromfile %f.mts "-xmp:all<all" -ext m4v DIR

- Phil
Title: Re: Copy tags from one file to another
Post by: TAWL on October 10, 2017, 11:04:23 AM
Hi Phil,

thanks for the quick help.

Is there any Chance to implement  the File Modification Date/Time tag in the posted line for Windows? I Need to copy this tag too.
It's annoying that this is the only useful tag to see the date in the Explorer.
Title: Re: Copy tags from one file to another
Post by: Phil Harvey on October 10, 2017, 11:05:31 AM
I think this is probably the filesystem modification date/time, and not stored in the file.

But ExifTool can be used to set this too, via the FileModifyDate tag:

exiftool -tagsfromfile %f.mts "-xmp:all<all" -filemodifydate -ext m4v DIR

- Phil