Notes on ExifTool
Misc commands
View tags
$ exiftool -use MWG -a -u $media_file
Remove all tags
$ exiftool -a -u -All= $media_file
Metadata write POSIX shell script example:
Date/time shift
See official docs. You started taking pictures on 2016-07-16T12:05:11 but the camera clock was reset to 2014-01-01T00:00:00. Calculate the delta, with Python for example
>>> from datetime import datetime
>>> reset = datetime(2014, 1, 1)
>>> start = datetime(2016, 7, 16, 12, 5, 11)
>>> delta = start - reset
>>> print(delta)
927 days, 12:05:11
Move the image files to directory dir
and perform date/time shift
$ deltashift="0:0:927 12:05:11"
$ exiftool -v "-AllDates+=$deltashift" "-FileModifyDate+=$deltashift" dir