Main Menu

Output in columns

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

Previous topic - Next topic

Archive

[Originally posted by linuxuser on 2008-12-14 18:16:06-08]

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!

Archive

[Originally posted by exiftool on 2008-12-15 11:54:13-08]

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:

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

- Phil