[digiKam-users] Import does not recognize existing images

Nino nino.kettlitz at gmail.com
Sun Feb 5 10:30:20 GMT 2023


Hi folks,

I was writing a small script that moves all duplicate images of my
Digikam database
to another folder:
https://github.com/ninok/digikam-utils/blob/main/move_duplicates.py

To double check that the script did the right thing, I was trying to
re-import the duplicates.
I was expecting that the import will mark none of the images as new, but
instead all of the images are marked as new.

I wrote another script that checks if there is a copy of each duplicate and
it works as expected:
https://github.com/ninok/digikam-utils/blob/main/safe_remove_duplicates.py

Am I doing sth. wrong? How can I prevent import to import images that are
already in the database?

Best regards,
Nino
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20230205/f6846ec7/attachment.htm>


More information about the Digikam-users mailing list