Ordering Results; exiftool -csv

Started by kbellis, August 16, 2018, 11:00:02 AM

Previous topic - Next topic

kbellis

using the following example:

exiftool -csv -n -GPSLongitude -GPSLatitude -AbsoluteAltitude -FileName -FocalLength -RelativeAltitude -FlightYawDegree "L:\Tom Dodd\photos" > "L:\Tom Dodd\SelectedExif5.csv"


The results return:

SourceFile,GPSLongitude,GPSLatitude,AbsoluteAltitude,FileName,FocalLength,RelativeAltitude,FlightYawDegree

Notice the added column heading of SourceFile.

Is there a switch to: a.) silence 'SourceFile' altogether;
and, b.) order its placement anywhere but at the beginning of each row?

Thank you very kindly!

Phil Harvey

The -csv option outputs SourceFile as the first column.  There is no way around this except by switching to the -p option.

- 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 ($).

kbellis