(Aug 28, 2014, keywords: exif, writing, script)
This Perl script writes EXIF data to image files:
EXIF-keys are defined in script but they are easy to replace if needed.
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. You can do unfunny things (without meaning it) with this script to your images, so backup originals before. 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-write.pl \
/usr/local/bin/exinfo-write
[sudo] password for user: [your-passwd-here]
user@teac:~/Downloads$ sudo chmod ugo+x /usr/local/bin/exinfo-write
user@teac:~/Downloads$ ls -l /usr/local/bin
total 28
:
-rwxr-xr-x. 1 root root 17711 Aug 24 2014 exinfo-write
:
user@teac:~/Downloads$ exinfo-write -h
With this script you can write image(s) author, copyright, title, description, location, date and keywords from command line.
For example:
user@teac:~/Pictures/DCIM-temp$ exinfo-write -i -a "Mika Huurre" \
-r "Copyright (C) 2014 by Mika Huurre" -l "Helsinki" \
-d "Summer pictures" hki-pics/
You can get best view of command line options by reading the help and trying the script out. You can write data either to one image file or to all image files in directory.
This script was made mainly to compliment my photo editing workflow, so it must be tested and modified if necessary.
Version 20140702-1
As file: exinfo-write.pl
Powered by CMSimple_XH | RO