Skip to content

Instantly share code, notes, and snippets.

@aconstantin
Last active August 29, 2020 06:54
Show Gist options
  • Save aconstantin/bee5458bd645f02e385c30bc94e799db to your computer and use it in GitHub Desktop.
Save aconstantin/bee5458bd645f02e385c30bc94e799db to your computer and use it in GitHub Desktop.
exiftool

exiftool

https://exiftool.org/

show all times

https://exiftool.org/forum/index.php?topic=8976.0

  exiftool -a -G1 -s -time:all 00021128_001932_1.JPG
  [System]        FileModifyDate                  : 2020:08:29 08:13:22+02:00
  [System]        FileAccessDate                  : 2020:08:29 08:13:25+02:00
  [System]        FileInodeChangeDate             : 2020:08:29 08:13:24+02:00
  [IFD0]          ModifyDate                      : 0001:05:31 00:00:00
  [ExifIFD]       DateTimeOriginal                : 0001:05:31 00:00:00
  [ExifIFD]       CreateDate                      : 0001:05:31 00:00:00

set times

  exiftool "-alldates=2003:7:3 12:0:0" 00021128_001932_1.JPG
      1 image files updated

set user comment

  exiftool -UserComment='some comment' P1010011.JPG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment