Copy tags from one file to another

Started by TAWL, October 10, 2017, 03:57:25 AM

Previous topic - Next topic

TAWL

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? :)

Phil Harvey

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
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

TAWL

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.

Phil Harvey

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
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).