Vielleicht per SQL? Habe mittlerweile die Datenbank auf MYSQL Server
geändert. Am 01.11.18 um 08:05 schrieb [hidden email]: > > Message: 3 > Date: Wed, 31 Oct 2018 21:56:49 +0100 > From: Ernst <[hidden email]> > To: [hidden email] > Subject: [digiKam-users] Duplicates deletion > Message-ID: <[hidden email]> > Content-Type: text/plain; charset=utf-8; format=flowed > > Dear Forum, > > I want to automatically delete all duplicates found by duplicates search. > > I do get a list of duplicates, for each set there is 1 refenrece picture > signed out. I would like to keep these reference pictures and delete the > duplicates automatically. > > Thanks for suggestions and help. > > ernst > > > > |
Nachdem meine Datensicherung (Fotos, MYSQL-Dump) abgeschlossen ist,
werde ich folgenden sql versuchen: delete from Images where id in ( select imageid from ImageProperties where property like 'similarityTo%' and value = 1 ) Der soll alle Fotos löschen, die mit einer Ähnlichkeit von 100% erkannt wurden. Das Referenzfoto sollte dabei nicht gelöscht werden. Bei einer kleineren Ähnlichkeit als 100% würde der sql leider auch die Refrenzfotos löschen, denn dann tauchen deren IDs auch in similarityTo_... auf. Oder sehe ich da was falsch? Am 05.11.18 um 18:19 schrieb Ernst: > Vielleicht per SQL? Habe mittlerweile die Datenbank auf MYSQL Server > geändert. > > Am 01.11.18 um 08:05 schrieb [hidden email]: >> >> Message: 3 >> Date: Wed, 31 Oct 2018 21:56:49 +0100 >> From: Ernst <[hidden email]> >> To: [hidden email] >> Subject: [digiKam-users] Duplicates deletion >> Message-ID: <[hidden email]> >> Content-Type: text/plain; charset=utf-8; format=flowed >> >> Dear Forum, >> >> I want to automatically delete all duplicates found by duplicates >> search. >> >> I do get a list of duplicates, for each set there is 1 refenrece picture >> signed out. I would like to keep these reference pictures and delete the >> duplicates automatically. >> >> Thanks for suggestions and help. >> >> ernst >> >> >> >> |
Ernst,
Your chances to get a reply on this English speaking list are massively increased if you write in English ;-) As I see it, you're deleting entries from the DB but not the actual photos from your drive. I guess that's not what you intend to do... Not sure if SQL has direct access to the file system, never heard of it. Hajo On Wed, Nov 7, 2018 at 2:21 AM Ernst <[hidden email]> wrote: Nachdem meine Datensicherung (Fotos, MYSQL-Dump) abgeschlossen ist, |
Free forum by Nabble | Edit this page |