ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: henk on February 26, 2016, 05:16:50 AM

Title: copy value from ArtworkSourceInventoryNo
Post by: henk on February 26, 2016, 05:16:50 AM
I have a set of images with a value in the ArtworkSourceInventoryNo tag, and want to copy this value to the identifer tag.

I tried
'-ArtworkSourceInventoryNo>Identifier' *.jpg

- but I get a "No writable tags found".

The ArtworkSourceInventoryNo is a structured tag, which may cause the problem.
Any suggestions?
Title: Re: copy value from ArtworkSourceInventoryNo
Post by: Stephen Marsh on February 26, 2016, 06:22:37 AM
I hesitate to contribute, however this has worked for me, however not sure about structured tags (remove the + to replace instead of append, use " on Windows, not ')...

exiftool '-destinationtag+<${sourcetag}' 'TARGET DIR' -ext .jpg

or

exiftool '-destinationtag+<sourcetag' 'TARGET DIR' -ext .jpg


Do either of these help?
Title: Re: copy value from ArtworkSourceInventoryNo
Post by: Phil Harvey on February 26, 2016, 07:47:04 AM
Quote from: henk on February 26, 2016, 05:16:50 AM
'-ArtworkSourceInventoryNo>Identifier' *.jpg

- but I get a "No writable tags found".

What system are you running, and what exiftool version are you using?

I get this on OS X:

> exiftool -ver
10.11
> exiftool -ArtworkSourceInventoryNo a.jpg
Artwork Source Inventory No     : 1
> exiftool '-ArtworkSourceInventoryNo>Identifier' a.jpg
    1 image files updated
> exiftool -identifier a.jpg
Identifier                      : 1


- Phil