Created
February 15, 2022 04:54
-
-
Save thewhodidthis/397a0422b133db5308273069d6257715 to your computer and use it in GitHub Desktop.
Retouch image files to reflect EXIF dates
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
find ./*.jpg -exec sh -c 'touch -d $$(date -j -f "%Y:%m:%d %H:%M:%S" "$$(identify -format "%[EXIF:DateTimeOriginal]" {})" +%Y-%m-%dT%H:%M:%S) {}' \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment