UserDefinedURL and importing file content

Started by Archive, May 12, 2010, 08:54:45 AM

Previous topic - Next topic

Archive

[Originally posted by cen on 2010-02-08 01:34:20.155652-08]

I never used exiftool before . I have created a screen shot of a map . I would like to tag the jpg file with the URL link that created it. This is quite a long URL . I first tried to
include a file with the URL information in it, I don't seem to select the correct command syntax.
Any calcification appreciated.

Where MapLink is a file with the URl information in it .
and Directions.jpg is the image file

Should it be
exiftool -Comment &lt= MapLink Directions.jpg
exiftool -Comment&lt=MapLink Directions.jpg

In general I don't seem to be able to write the UserDefinedURL field with anything .

I can get the word MapLink in the comment field but not the file contents with Quotes or not.

the -tagsfromfile . What should the file look like ? Should that have the tag name in it and the tag ?

Archive

[Originally posted by exiftool on 2010-02-08 04:58:19.647341-08]

The problem is that you need to put quotes around the argument
to prevent the shell from interpreting the "<" symbol as a
redirection:

Code:
exiftool "-Comment<=MapLink" Directions.jpg

This will work if all of the files are in the current directory,
and the "MapLink" file contains plain text.

- Phil