exiftool -p '$filename has date $dateTimeOriginal' -q -f dir #Print one line of output containing the file name and DateTimeOriginal for each image in directory dir.