Created
February 26, 2014 16:40
-
-
Save campanalbero/9233245 to your computer and use it in GitHub Desktop.
Nikon の raw ファイルの exif のようなところから、撮影日を得る
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
require 'rubygems' | |
require 'mini_exiftool' | |
Dir.glob(['*.NEF']) do |f| | |
photo = MiniExiftool.new(f) | |
puts photo.DateTimeOriginal | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment