Hello,I'm new here :-)
I'm trying hard to easily add keywords to pdf files in batches and somehow stumbled across exiftool.
I used this sample command that I found on a Ubuntu support site:
exiftool -mwg:keywords+="keyword" *.pdf
This returned:
4 image files updated
The added keyword doesn't show up when I open it in the viewer.
Did I miss anything?
cheers
mwg:keywords updates IPTC:keywords and XMP:subject. A quick look at various pdfs I had on hand seems to indicate you might want to try PFD:Keywords or XMP-pdf:keywords.
Many thanks for your help!
Ok, I tried
exiftool -PFD:keywords+="keyword" *.pdf
and got in return:
Warning: Tag 'PFD:Keywords' does not exist
Nothing to do.
and
exiftool -XMP-pdf:keywords+="Keyword" *.pdf
led to:
Warning: Can't add XMP-pdf:Keywords (not a List type)
Nothing to do.
:-/
"PFD:Keywords" was a typo. Try "PDF:Keywords".
- Phil
That did it, thanks a lot! :-D