ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: StarGeek on May 17, 2015, 06:34:02 PM

Title: Process entire IPTC as user defined tag
Post by: StarGeek on May 17, 2015, 06:34:02 PM
Is it possible to make a user defined tag that will process an entire group, such as IPTC tags?  For example, let's say I want to trim all the IPTC entries of leading and trailing spaces, without necessarily knowing beforehand what tags are currently set, would that be possible?
Title: Re: Process entire IPTC as user defined tag
Post by: Phil Harvey on May 17, 2015, 10:49:59 PM
I think you'll find that ExifTool already trims trailing spaces.

But the answer to your question is no.  There is no way to define an action to affect all tags (or all tags in a group).

- Phil
Title: Re: Process entire IPTC as user defined tag
Post by: StarGeek on May 18, 2015, 04:14:10 AM
Quote from: Phil Harvey on May 17, 2015, 10:49:59 PM
I think you'll find that ExifTool already trims trailing spaces.

That was just an example, but not all other programs do. 

QuoteBut the answer to your question is no.  There is no way to define an action to affect all tags (or all tags in a group).

No worries then.