Skip to content

Instantly share code, notes, and snippets.

@campanalbero
Created February 26, 2014 16:40
Show Gist options
  • Save campanalbero/9233245 to your computer and use it in GitHub Desktop.
Save campanalbero/9233245 to your computer and use it in GitHub Desktop.
Nikon の raw ファイルの exif のようなところから、撮影日を得る
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