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, 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.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

Chris S

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