<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Thomas, </p>
<p>It is possible to write to the DB directly (but certainly not
supported). I've been playing around with java code to massage my
groups (consisting of raw + jpg), e.g. so that they always have
the same type of image file (e.g. jpg or raw) as the leader
(that's the one you see when the group members are hidden), and to
make the tags and labels the same for the entire group.</p>
<p>If the tags you wish to introduce are are simple, it should not
be too difficult. If the tags are hierarchical, it is more
complicated, since you must build a virtual tag tree in the db.</p>
<p>Another possible approach might be to create/modify the sidecar
files with something like perl. This would lessen the risks to
your db.</p>
<p>George</p>
<div class="moz-cite-prefix">On 11/17/2025 2:59 PM,
<a class="moz-txt-link-abbreviated" href="mailto:thomas.weg@abwesend.de">thomas.weg@abwesend.de</a> wrote:<br>
</div>
<blockquote type="cite"
cite="mid:trinity-eee26907-550e-49e6-b9ef-0f08ef926b29-1763409553913@trinity-msg-rest-gmx-gmx-live-56d984c6fb-bnls6">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div style="font-family: 'verdana'; font-size: 12px; color: #000;">
<div
style="font-family: verdana; font-size: 12px; color: #000000;">Good
evening,</div>
<div
style="font-family: verdana; font-size: 12px; color: #000000;"> </div>
<div>I have a database from another program for tagging.
Unfortunately, the program is not running anymore but I have
full access to the sqlite database. What is the best way to
import these tags into digikam? Identification can be done via
the file name, as this is unique. Not every picture is already
in digikam<br>
- Is there a way to import csv files for this case?<br>
- Should the tags be written directly into the Digikam
database? What needs to be considered here, i.e., what
dependencies need to be taken into account sending direct sql
commands?<br>
- Should I create xmp files from the old database and then
import them with a dummy picture? </div>
<div> </div>
<div
style="font-family: verdana; font-size: 12px; color: #000000;">Best
regards,</div>
<div
style="font-family: verdana; font-size: 12px; color: #000000;">Thomas</div>
</div>
</blockquote>
<pre class="moz-signature" cols="72">--
George Koulomzin
7 Bridge Hill Lane,
PO Box 781
Bridgehampton, NY, 11932
(m) 914-393-6179
(h) 631-537-4956
<a class="moz-txt-link-abbreviated" href="mailto:George@Koulomzin.com">George@Koulomzin.com</a></pre>
</body>
</html>