Skip to content

Instantly share code, notes, and snippets.

@ward
Created June 9, 2015 21:41
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 ward/9f894fb37efd24d8c939 to your computer and use it in GitHub Desktop.
Save ward/9f894fb37efd24d8c939 to your computer and use it in GitHub Desktop.
exiftool stuff
# Changes the metadata of all the dates to the modify date in the filesystem
# The -P keeps the modify date itself intact
exiftool -P -"filemodifydate>alldates" SOMEFILE.jpg
# Show date related metadata
exiftool -alldates SOMEFILE.jpg
# Show file modified date
exiftool -filemodifydate SOMEFILE.jpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment