(25.8.2014, keywords: exif, reading, script)
This Perl script outputs EXIF data from image files:
EXIF-keys are defined in script but they are easy to replace if needed. Data output is a list which you can format (list, tab delimited and csv).
Disclaimer: This script is a part of my photo workflow. It might fit (modified) for you or it may be not. If this script breaks something, you can keep all the pieces. I might add that my cameras are made by Olympus, so script functioning is leaning a bit towards this brand.
user@teac:~/Downloads$ sudo cp exinfo-read.pl \
/usr/local/bin/exinfo-read
[sudo] password for user: [your-passwd-here]
user@teac:~/Downloads$ sudo chmod ugo+x /usr/local/bin/exinfo-read
user@teac:~/Downloads$ ls -l /usr/local/bin
total 28
:
-rwxr-xr-x. 1 root root 29910 Aug 24 2014 exinfo-read
:
user@teac:~/Downloads$ exinfo-read -h
With this script you can check image(s) author, copyright, title, description, location, date and keywords. This is necessary if you want to check them from command line or use data in somewhere else (like with csv format).
For example:
user@teac:~/Pictures/DCIM-temp$ exinfo-read -f csv -t exif new-pics/
You can get best view of command line options by reading the help and trying the script out. You can read either one image file or all image files in directory.
This scriptwas made mainly to compliment my photo editing workflow, so it must be tested and modified if necessary.
Version 20140702-1
As file: exinfo-read.pl