Created
January 7, 2015 20:28
-
-
Save sgsfak/926f3397b2b70fc26d29 to your computer and use it in GitHub Desktop.
Given a set of JPEG images in a single directory, it prints the Exif based date time information
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exiv2 -Pv -g Exif.Image.DateTime *.JPG | awk '{gsub(/:/,"/", $2); print $1,$2}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To move the images to the corresponding directory pipe to
xargs
as follows: