Voila! After all that, I could combine all files into one directory which now contains a unified photo stream. MP4s don't contain EXIF tags, so we use the File mtime here, first removed the time skew, then moved the date/time into the filename. The last two steps you see above were to handle Sony video files a bit differently while they resided in that same directory. $ exiftool '-FileName<$_Sony.mp4' -d %Y%m%d_%H%M%S -overwrite_original Photos_Sony/MAH* $ exiftool "-alldates-=00:09:36" "-SonyDateTime-=00:09:36" "-FileModifyDate-=00:09:36" -overwrite_original DSC03485.JPGĪlldates, as stated in the docs, "AllDates is a shortcut for 3 tag names: DateTimeOriginal, CreateDate and ModifyDate"Īlso, I here change the Sony specific Sony Date Time.Īlso note that I don't use something like "-FileModifyDate_Canon.jpg: To adjust the time skew in EXIF tags and the file's modification timestamp (mtime): In case you forgot to set the internal clock of your point-n-shoot or DSLR camera, use this command
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |