I tried to find out the best method to bring the filename or directory in the Tags.
I found in the manpage -TAG<=FMT ...
How is the right syntax?
exiftool '-iptc:objectname<=%f' je4r6479.jpg
brings the error
doesnt work (Tag 'iptc:objectname' is not writable)
exiftool -tagsfromfile @ '-filename>IPTC:objectname' je4r6479.jpg
did a fine job.
My Version is 6.87 , the tags are only examples