Create keyword from the file name, all name till first underscore

Started by seraosr, November 22, 2012, 01:27:27 PM

Previous topic - Next topic

Phil Harvey

There should be no difference in Windows as long as the config file is properly activated.

What is the result with the -v3 option when you try this in Windows?

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

seraosr

Phil, as i told you before and you saw the result in previous post, config file is properly activated

C:\Windows\system32>exiftool "-keywords<myname2" -v3 C:\EXIF\PDFS\
======== C:/EXIF/PDFS/CESPI-REC_20000000_TXT.pdf
Setting new values from C:/EXIF/PDFS/CESPI-REC_20000000_TXT.pdf
Warning: No writable tags set from C:/EXIF/PDFS/CESPI-REC_20000000_TXT.pdf
Nothing changed in C:/EXIF/PDFS/CESPI-REC_20000000_TXT.pdf

    1 directories scanned
    0 image files updated
    1 image files unchanged


Phil Harvey

This is exactly what would happen if either the config file isn't active or XMP:Keywords doesn't exist.

What do you get with this command?:

exiftool -a -G1 -keywords -myname2 C:\EXIF\PDFS\

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

seraosr

This is the result Phil.

C:\EXIF>exiftool -a -G1 -keywords -myname2 C:\EXIF\PDFS\
======== C:/EXIF/PDFS/CESPI-REC_20000000_TXT.pdf
[PDF]           Keywords                        : Porto, Editora:, CESPI-REC_20000000_TXT.pdf
[XMP-pdf]       Keywords                        : Porto Editora: CESPI-REC_20000000_TXT.pdf
    1 directories scanned
    1 image files read

Phil Harvey

OK.  XMP:Keywords exists but MyName2 doesn't, so the proper config file isn't activated.  You had this working in your reply #19, so something must have changed.

This is back to FAQ number 11 to figure out what is wrong.

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