Skip to content

Instantly share code, notes, and snippets.

@NiGhTTraX
Created July 29, 2023 20:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NiGhTTraX/3a38d83d0d745bf30fc7a8610ebbf8b9 to your computer and use it in GitHub Desktop.
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
# 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