Created
October 27, 2018 15:47
-
-
Save antono/79579f61611443258fd36760ad788a58 to your computer and use it in GitHub Desktop.
DJI Mavic Air fix dates
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
#!/bin/bash | |
DIR=$1 | |
exiftool -v0 -progress \ | |
-overwrite_original "-CreateDate<FileModifyDate" \ | |
"-ModifyDate<FileModifyDate" "-TrackCreateDate<FileModifyDate" \ | |
"-TrackModifyDate<FileModifyDate" "-MediaCreateDate<FileModifyDate" \ | |
"-MediaModifyDate<FileModifyDate" "-FileCreateDate<FileModifyDate" \ | |
$DIR/*.MP4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment