A simple Ruby script to generate a CSV file from all JPEG EXIF data within a directory
Go to file
djib fac4d9050b Mise à jour de 'README.md' 2019-08-25 16:04:30 +02:00
LICENSE First commit 2019-08-25 15:59:39 +02:00
README.md Mise à jour de 'README.md' 2019-08-25 16:04:30 +02:00
exif2csv.rb First commit 2019-08-25 15:59:39 +02:00

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.