The Lua API does not, as far as I know, straightforwardly support random
access to a specific image by its ID or filename. Whenever I carry out any
mass-tagging operations of this sort, I have to use a SQLite script that
directly alters the 'tagged_images' table in the library database.

--
August Schwerdfeger
[email protected]

On Thu, Jan 14, 2021 at 9:11 PM Niranjan Rao <[email protected]> wrote:

> Greetings,
>
> On Ubuntu 20.04, darktable 2.4.0
>
>
> Generic question is can I tag the image from command line? Obvious
> search engine searches have failed so far. I suspect lua script can do
> it, but have not managed to put two and two together. I saw some mention
> at https://www.darktable.org/lua-api/index.html#darktable_tags. If
> someone can kindly provide example, I can add loop around the file list
> very easily.
>
>
> Specifically, I was looking for best way to find images in portrait mode
> - or in general, any image that is not in landscape mode. I have the
> complete image paths - built from querying darktable database and using
> exiftool to crosscheck my results.
>
>
> I have almost 1000 entries that I would like to be tagged.
>
> Regards,
>
>
> Niranjan
>
>
>
> ____________________________________________________________________________
> darktable user mailing list
> to unsubscribe send a mail to
> [email protected]
>
>

____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to [email protected]

Reply via email to