Skip to content

Instantly share code, notes, and snippets.

@antono
Created October 27, 2018 15:47
Show Gist options
  • Save antono/79579f61611443258fd36760ad788a58 to your computer and use it in GitHub Desktop.
Save antono/79579f61611443258fd36760ad788a58 to your computer and use it in GitHub Desktop.
DJI Mavic Air fix dates
#!/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