Image-ExifTool - Re: date.keyword manipulation

Posted on Thu Sep 4 13:50:01 2008 by exiftool in response to 8732 (See the whole thread of 2)
Re: date.keyword manipulation
This can be done with a user-defined tag and the following config file:

%Image::ExifTool::UserDefined = ( 'Image::ExifTool::Composite' => { ShiftedTime => { Require => 'DateTimeOriginal', ValueConv => q{ require 'Image/ExifTool/Shift.pl'; Image::ExifTool::ShiftTime($val, '0:30', -1); $val =~ s/^\S+\s+//; # remove date return $val; }, }, }, );

using this command line:

exiftool "-caption-abstract<shiftedtime" FILE

See the config file documentation for help with installing the config file.
- Phil
Write a response