Dear Sir,
I am using the following command to read data from Quicktime .mov files and write it to a CSV text file:
exiftool -csv -r -filename -description -keywords c:\Temp\Movs > c:\Temp\output.txt
The output file contains the source file name, the filename and description, but the keywords are totally missing, there is no column at all for keywords and there are no keywords at all. I tried to spell keywords option with capital K(Keywords), I tried the version -IPTC:keywords but no results at all.
Could you please help me? Many thanks!
P.S: I am on a Win7/64 bit machine.
I found it! It is SUBJECT instead of keywords. Now the problem is that when opening the csv file the keywords are each in one cell instead of being all in a single cell, although the keyowrds separator is ";" and the preview(prior to opening the CSV file) looks fine(all keywords are in a single cell).
Finally sort it out. Here is the right command:
exiftool -csv -r -filename -description -subject -sep ";" FOLDER > output.txt
Thank you for the great tool!
Hi Oskar,
There is something funny with the software you are using to import the CSV file. I'm glad the semicolon separator works for you, but ExifTool will quote the keywords list and use a comma-space separator otherwise. With the quotes around the list, it should import into a single cell. If it doesn't, then your import software isn't parsing the standard CSV format properly.
For example:
> exiftool -subject=x -subject=y a.jpg
1 image files updated
> exiftool -subject -filename -csv a.jpg
SourceFile,Subject,FileName
a.jpg,"x, y",a.jpg
- Phil
Hi, Phil! I am using libreOffice. Perhaps I was doing something wrong during the opening of the csv file because in the opening dialog preview the csv file looked fine. For now I will stay with this workflow but I will try and see what's wrong with the normal way. Thank you for your advice and for your valuable software!!!
I found the error I was doing while opening the CSV file: I need to put " in text delimiter field in the opening dialog box. It works like a charm, thank youuuuuuu!
p.s: I installed the Perl version and it is much much faster!
What Perl are you using? I have found that the Cygwin Perl is much faster -- I think that is because of better memory handling in Cygwin.
- Phil
The one recommended in install instructions: Activeperl, http://www.activestate.com/activeperl/ (http://www.activestate.com/activeperl/)