Return Tag Names as Column Headers in Tabular Format?

Started by Chris S, April 11, 2023, 10:11:09 PM

Previous topic - Next topic

Chris S

How do I add short tag names as column headers (first row) in metadata returned in tabular format?

exiftool -T [DIR]

Phil Harvey

This should work as long as you don't have too many files in the directory:

exiftool -csv DIR

but will use a comma separator instead of tabs.

- 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

The alternative if you really need tabs, would be to use the -p (-printFormat) option.  It would be a bit more complicated, though.
"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

Chris S

-csv works for what I need, but thanks for the tip on the  -p (-printFormat) option as well.