Posted on 2008-12-14 18:16:06-08 by linuxuser
Output in columns
I would like to create an output in columns

e.g.

exiftool -q -q -s -s -s -model -focallength -fnumber

should look like

Canon EOS 450D,55.0 mm,5.6
Canon EOS 450D,18.0 mm,8

and not

Canon EOS 450D
55.0 mm
5.6
Canon EOS 450D
18.0 mm
8.0

The delimiter is not important

Thanks!
Direct Responses: 9548 | Write a response
Posted on 2008-12-15 11:54:13-08 by exiftool in response to 9545
Re: Output in columns
Using -T instead of -q -q -s -s -s will do what you want. The delimiter will be a tab.

You said the delimiter isn't important, but if you really did want a comma you could do it like this:

exiftool -p '$model, $focalLength, $fnumber' FILE

- Phil
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.