Created
July 29, 2023 20:50
-
-
Save NiGhTTraX/3a38d83d0d745bf30fc7a8610ebbf8b9 to your computer and use it in GitHub Desktop.
Script to fix DJI drone video timestamps so they don't show up as taken in 1970 when importing into Adobe Lightroom
This file contains 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
# Copy the DCIM folder from the SD card first. | |
exiftool -v0 -progress -overwrite_original \ | |
"-CreateDate<FileModifyDate" \ | |
"-ModifyDate<FileModifyDate" \ | |
"-TrackCreateDate<FileModifyDate" \ | |
"-TrackModifyDate<FileModifyDate" \ | |
"-MediaCreateDate<FileModifyDate" \ | |
"-MediaModifyDate<FileModifyDate" \ | |
"-FileCreateDate<FileModifyDate" \ | |
DCIM/**/*.MP4 | |
exiftool -v0 -progress -overwrite_original \ | |
"-CreateDate>FileModifyDate" \ | |
DCIM/**/*.MP4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment