Created
May 9, 2014 19:57
-
-
Save zmwangx/bbba9211b18ea3c29da2 to your computer and use it in GitHub Desktop.
Modify Exif data (esp. date of creation) for correct chronological order in Carousel.
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
# Modify the `DateTimeOriginal' field for photos and the `CreateDate' field for videos, namely: | |
# photos | |
exiftool -overwrite_original -DateTimeOriginal="2014:05:09 12:57:16" $dir | |
# videos | |
exiftool -overwrite_original -CreateDate="2014:05:09 12:57:16" $dir |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment