If I do
$exiftool IMG_0502.JPG, I get (among other data) time with hundreds and tens of a sec.
Create Date : 2015:09:24 17:51:54.53
Date/Time Original : 2015:09:24 17:51:54.53
Modify Date : 2015:09:24 17:51:54.53
but if I read that alone, I get only whole seconds.
$exiftool -ee -p '$datetimeoriginal' IMG_0502.JPG -n
2015:09:24 17:51:54
how can I get the rest ?
The DateTimeOriginal with the subseconds is actually a composite tag, and if you want to access it directly, you need to use its real name: SubSecDateTimeOriginal (you can find the tag names for the tag descriptions using the -s option).
So in this case you could do this: $exiftool -subsecdatetimeoriginal IMG_0502.JPG
Hope this helps :)
thank you, - exactly what I needed.