Export to CSV separator switch not working or missunderstanding

Started by Bastel, June 23, 2017, 03:37:13 AM

Previous topic - Next topic

Bastel

Hello,
under liunx with version 10.10 of exiftools i have the following problem:
I'am trying to set a semicolon instead of a comma because somtimes in the Data is also a comma.
exiftool -sep ";" -csv -FileSize -FileType *
gives me
SourceFile,FileSize,FileType
PanoMal_100.png,1897 kB,PNG
PanoMal_200.png,1660 kB,PNG
PanoMal_300.png,1552 kB,PNG


even if i try different characters it doesn't work.
what is my mistake?
Bastel

Phil Harvey

Hi Bastel,

The -csv option only outputs comma separated, but it will properly quote values which contain commas, so all should be good.

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