Image-ExifTool - Re: how filename to TAG?

Posted on Sat Apr 28 04:12:44 2007 by exiftool in response to 5005 (See the whole thread of 2)
Re: how filename to TAG?
Hi Bozi,

ExifTool is giving a misleading error in this case. I will fix this, thanks for pointing it out.

The error should be "Error opening file je4r6479".

The first command you used if for writing the contents of a file into the value of a tag, which isn't what you wanted.

Your second command copies the filename tag to the objectname tag, which is what you want. In this example though, the "-tagsfromfile @" can be omitted since this is assumed whenever tags are being copied unless another file is specified.

- Phil
Write a response