A simple Ruby script to generate a CSV file from all JPEG EXIF data within a directory
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
djib fac4d9050b Mise à jour de 'README.md' 7 månader sedan
LICENSE First commit 7 månader sedan
README.md Mise à jour de 'README.md' 7 månader sedan
exif2csv.rb First commit 7 månader sedan

README.md

Exif2CSV

Exif2CSV will allow you to extract Exif information from multiple images and store it into a CSV file. You will then be able to process data in a database or in tools such as OpenOffice Calc.

You might be interested in ExposurePlot as a sexyer alternative to this script.

Installation on Windows

  • Download and install RubyInstaller;
  • Download and unzip ExifTool in the directory you’ll be calling the script from (or in a directory in your PATH);
  • Rename exiftool(-k).exe to exiftool.exe;
  • Start cmd.exe and execute gem install mini_exiftool. You might have to specify the full path to gem.exe, for instance C:\Ruby186\bin\gem.exe install mini_exiftool.

Generate a CSV file with ./ruby2csv.rb C:/path/to/pictures.

Again, depending on your PATH, you might have to specify the full path to ruby.exe: C:\Ruby186\bin\ruby.exe ruby2csv.rb C:/path/to/pictures.

Installation on Debian GNU/Linux

On Debian (and probably Debian based distributions like Ubuntu), follow the following steps (as root).

apt-get install ruby rubygems libimage-exiftool-perl
gem install mini_exiftool

Generate a CSV file with ./ruby2csv.rb /path/to/pictures.