Question to -addTagsFromFile

Started by herb, May 02, 2017, 09:41:32 AM

Previous topic - Next topic

herb

Hello Phil,

Is there an option to set -addTagsFromFile to the actual "tagsFromFile"?

I think about the following
- I want to have a generic argumentfile that writes some tag values.
- In case of I have also listtype tags to which I write more than 1 value from different tags   e.g.: "-subject<make" "-subject<model"
  I need also the option -addTagsFromFile
- But inside the argumentfile I do not know which is the current sourcefile for my tags

Very helpful e.g. would be a command as follows:
exiftool.exe -tagsfromfile %d%f.%e_original -@ <myargumentfile> FILE
and the argumentfile starts with: -addTagsFromFile *current tagsFromFile*

but I guess it always must be
exiftool.exe -tagsfromfile %d%f.%e_original -addTagsFromFile %d%f.%e_original -@ <myargumentfile> FILE

Knowing the content of the argumentfile it is easy to select the proper command.
Not knowing the content I always have to give the -addTagsFromFile option.
Could this have any side effects?

I hope I could explain the scenario I think about.
Thanks for your help in advance

Best regards
Herb

Phil Harvey

Hi Herb,

Why not always use -addTagsFromFile instead of -tagsFromFile?

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

herb

Hello Phil,

thanks for your proposal always to use -addTagsFromFile.

Till now I always used -tagsFromFile and only in rare cases I used -tagsFromFile and -addTagsFromFile together, because I thought
-addTagsFromFile is an "addon" to -tagsFromFile.

But now I know that -addTagsFromFile "includes" -tagsFromFile. This opens a new door.

Thanks again and
Best regards
Herb