Skip to content

Instantly share code, notes, and snippets.

@franTarkenton
Last active March 24, 2022 19:28
Show Gist options
  • Select an option

  • Save franTarkenton/0c77503f83ff710571aea1b96b93f8c2 to your computer and use it in GitHub Desktop.

Select an option

Save franTarkenton/0c77503f83ff710571aea1b96b93f8c2 to your computer and use it in GitHub Desktop.

Get metadata from photo

# change data by adding 2 years to a single file
exiftool "-AllDates+=2:00:00 00:01:00" -verbose myfile.jpg
# change all files matching a pattern
exiftool "-AllDates+=2:00:00 00:01:00" -verbose *.jpg

view metadata

exiftool -DateTimeOriginal 00123.MTS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment