change the field seperator of -T list to other char then

Started by Archive, May 12, 2010, 08:54:36 AM

Previous topic - Next topic

Archive

[Originally posted by gekap on 2009-06-01 20:30:37-07]

Hi,

I want to process a "-T List" of a bunch of jpg.files (with the fields FileName, Make, Model and LensType) using a for-loop in a command box in windows. My problem is the "tab" as field-seperator per line: the for loop handles a "tab" equal as a "space", so it's not usable for me. I can change the parsing delimiter in the for loop from "tab and space" to any other charachter(s) but "special-charachters like "tab", my question is if it is possible to change the field seperator of a "-T list" with exiftool, for example to "###" (without quotation marks)?

thanks for help
Gerald

Archive

[Originally posted by exiftool on 2009-06-02 11:16:57-07]

Hi Gerald,

You can use any separator you want with the -p
option.  ie)

Code:
exiftool -f -p "$filename###$make###$model###$lenstype" FILE

(use single quotes instead of double quotes in Linux or on a Mac).

- Phil