How do I print the image Exif date with a tool like exiv2
?
My goal is to write the image year and month into separate variables. Do I really have to parse the output with regex or is there a alternative to something like this:
exiv2 DSC_01234.NEF -ps | grep 'Image timestamp' | ...regex to parse the date