Process entire IPTC as user defined tag

Started by StarGeek, May 17, 2015, 06:34:02 PM

Previous topic - Next topic

StarGeek

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?
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

Phil Harvey

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
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

StarGeek

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. 
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype