This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Works even if <datetimeoriginal does not exist on certain files | |
# Check tags of a file | |
exiftool -g1 -a -s video.MPG | |
# AVI to MP4 | |
exiftool -TagsFromFile %d%f.AVI "-FileModifyDate" -ext mp4 . | |
# MPG to MP4 | |
exiftool -TagsFromFile %d%f.MPG "-FileModifyDate" -ext mp4 . |