Skip to content

Instantly share code, notes, and snippets.

@thewhodidthis
Created February 15, 2022 04:54
Embed
What would you like to do?
Retouch image files to reflect EXIF dates
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