On 2014-08-04 04:35, [email protected] wrote:
> I would like to find a command line trick to add to all those files a 
> tag
> **in a darktable-compatible way** (and/or to add a star rating if they
> have not it already). Before I start messing with exiv2 command-line
> utility... is there someone that have the answer ready?

I have found a possible solution --- can anyone check that it will not 
create problems?
Basically, if the .xmp file already exists, I will do:

     exiftool -"xmp:HierarchicalSubject+=mytag" -"xmp:Subject+=mytag" 
p1050786.rw2.xmp

...and if the .xmp file does not exist, I will do:

     exiftool -"xmp:HierarchicalSubject+=mytag" -"xmp:Subject+=mytag" 
p1050788.rw2 -o p1050788.rw2.xmp

Does it sound safe? Should I set both "Subject" and 
"HierarchicalSubject" tags or with one is sufficient?

Thank you!
Romano

PS --- is there a way to "prime" the database on a LOT of photos?


------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Darktable-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-users

Reply via email to