<html class="apple-mail-supports-explicit-dark-mode"><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Just take a dummy picture, tag it with all the tags you want to import and then import this picture into the new digikam collection. <div><br></div><div>good luck</div><div>Manuel</div><div><br id="lineBreakAtBeginningOfSignature"><div dir="ltr">Von unterwegs gesendet</div><div dir="ltr"><br><blockquote type="cite">Am 10.12.2025 um 21:35 schrieb thomas.weg@abwesend.de:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div style="font-family: 'verdana'; font-size: 12px; color: #000;"><span style="background-color: #ffffff;">Can someone give me a hint how to do it in the best way? Do I oversee an option? Otherwise, might it be an option to set it on the wish list having this option in the last maintanance option (compare metadata) not to replace entries (at least for the option image->database).</span></div>
<div style="font-family: 'verdana'; font-size: 12px; color: #000;"><span style="background-color: #ffffff;"> </span></div>
<div style="font-family: 'verdana'; font-size: 12px; color: #000;"><span style="background-color: #ffffff;">PS: I know I could a) write out a xmp file from digikam or b) read it out from digikam database as well, followed by merging it with the external data and then reread it with the new xmp files replacing database entries. As there is no 100% match of files between different databases I prefer a different solution.</span></div>
<div style="font-family: 'verdana'; font-size: 12px; color: #000;"><span style="background-color: #ffffff;"> </span></div>
<div style="font-family: 'verdana'; font-size: 12px; color: #000;"><span style="background-color: #ffffff;">Many thanks,</span></div>
<div style="font-family: 'verdana'; font-size: 12px; color: #000;"><span style="background-color: #ffffff;">Thomas</span></div>
<div id="sub-body-container" style="margin: 10px 5px 5px 10px; padding: 10px 0px 10px 10px; border-left: 2px solid rgb(195, 217, 229);">
<div style="margin: 0px 0px 10px;">
<div><strong>Gesendet: </strong>Freitag, 5. Dezember 2025 um 00:45</div>
<div><strong>Von: </strong>thomas.weg@abwesend.de</div>
<div><strong>An: </strong>digikam-users@kde.org</div>
<div><strong>Betreff: </strong>Fw: Aw: Re: Import tags from a different database</div>
</div>
<div style="font-family: verdana; font-size: 12.0px; color: #000000;">I created XMP files based on the old database. Is it possible to read this XMP files into digikam without overwriting existing values?  If I go over the entry to read metadata from file in the entry menu, everything gets replaced.</div>
<div style="font-family: verdana; font-size: 12.0px; color: #000000;"> </div>
<div style="font-family: verdana; font-size: 12.0px; color: #000000;">Best regards,</div>
<div style="font-family: verdana; font-size: 12.0px; color: #000000;">Thomas</div>
<div id="sub-body-container" style="margin: 10.0px 5.0px 5.0px 10.0px; padding: 10.0px 0.0px 10.0px 10.0px; border-left: 2.0px solid rgb(195,217,229);">
<div style="margin: 0.0px 0.0px 10.0px;">
<div><strong>Gesendet: </strong>Donnerstag, 20. November 2025 um 22:20</div>
<div><strong>Von: </strong>thomas.weg@abwesend.de</div>
<div><strong>An: </strong>digikam-users@kde.org</div>
<div><strong>Betreff: </strong>Aw: Re: Import tags from a different database</div>
</div>
<div style="font-family: verdana; font-size: 12.0px; color: #000000;">Exactly. My intention was to import the tags of individual images rather than the tag overview. From what you've said, I gather that creating XMP files from my options is the usual method. In that case, I'll probably write a small script to do this, particularly so that I can assign the XMP files to the correct folders and files. Thank you very much.</div>
<div id="sub-body-container" style="margin: 10.0px 5.0px 5.0px 10.0px; padding: 10.0px 0.0px 10.0px 10.0px; border-left: 2.0px solid rgb(195,217,229);">
<div style="margin: 0.0px 0.0px 10.0px;">
<div><strong>Gesendet: </strong>Donnerstag, 20. November 2025 um 01:23</div>
<div><strong>Von: </strong>Mark <wodenickel@aol.com></div>
<div><strong>An: </strong>"DigiKam - Home Manage Your Photographs As A. Professional With the Power of Open Source" <digikam-users@kde.org></div>
<div><strong>Betreff: </strong>Re: Import tags from a different database</div>
</div>
<div class="ydp22f0591yahoo-style-wrap" style="font-family: arial; font-size: 16.0px;">
<div> </div>
<div>I think the intent is not to import the heirarchy but to import a file that has an image file name and it's associated tags.</div>
<div> </div>
<div>I used to use Cumulus which went out of business. I've got a background personal project to write a Python project that imports such a CSV file and writes the exif data to the files which digiKam would then automatically read to update it's database. I've confirmed my approach works but haven't finished pulling together the complete program.</div>
<div> </div>
<div>Mark Anderson</div>
<div> </div>
</div>
<div id="ydp781c96c6yahoo_quoted_4241598470" class="ydp781c96c6yahoo_quoted">
<div class="ydp781c96c6yahoo-style-wrap" style="font-family: arial; font-size: 16.0px;">
<div style="font-family: 'Helvetica Neue' , Helvetica , Arial , sans-serif; font-size: 13.0px; color: #26282a;">
<div class="ydp781c96c6quoted-text-header">On Monday, November 17, 2025 at 03:14:59 PM EST, Maik Qualmann <metzpinguin@gmail.com> wrote:</div>
</div>
<div class="ydp781c96c6inline_reply_quote_container" style="font-family: 'Helvetica Neue' , Helvetica , Arial , sans-serif; font-size: 13.0px; color: #26282a; border-left: 1.0px solid rgb(204,204,204); padding-left: 8.0px; margin: 0.0px 0.0px 0.0px 8.0px;">
<div> </div>
<div> </div>
<div>
<div>digiKam-8.8.0 can import tags from a text file in the Controlled Vocabulary <br clear="none">Keyword Catalogue format. This is a text file with tags on each line; hierarchy <br clear="none">is achieved using tabs.<br clear="none"><br clear="none"><a href="https://www.digikam.org/news/2025-10-19-8.8.0_release_announcement/#tag-management" target="_blank" rel="noopener noreferrer">https://www.digikam.org/news/2025-10-19-8.8.0_release_announcement/#tag-management</a><br clear="none"><br clear="none">Maik<br clear="none"><br clear="none">Am Montag, 17. November 2025, 20:59:14 Mitteleuropäische Normalzeit schrieb <br clear="none">thomas.weg@abwesend.de:
<div id="ydp781c96c6yqtfd96533" class="ydp781c96c6yqt5928347615"><br clear="none">> Good evening,<br clear="none">>  <br clear="none">> I have a database from another program for tagging. Unfortunately, the<br clear="none">> program is not running anymore but I have full access to the sqlite<br clear="none">> database. What is the best way to import these tags into digikam?<br clear="none">> Identification can be done via the file name, as this is unique. Not every<br clear="none">> picture is already in digikam - Is there a way to import csv files for this<br clear="none">> case?<br clear="none">> - Should the tags be written directly into the Digikam database? What needs<br clear="none">> to be considered here, i.e., what dependencies need to be taken into<br clear="none">> account sending direct sql commands? - Should I create xmp files from the<br clear="none">> old database and then import them with a dummy picture? <br clear="none">> Best regards,<br clear="none">> Thomas<br clear="none"><br clear="none"><br clear="none"><br clear="none"><br clear="none"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></blockquote></div></body></html>