How to exclude .lnk shortcut from reading by Digicam?

Gilles Caulier caulier.gilles at gmail.com
Sun Feb 23 11:36:35 GMT 2025


Hi Василий Васин,

There are no settings yet in the application where we can ignore specific
extensions of the file while scanning. It's technically possible as we
ignore temporary files generated by the application itself at 2 place in
source codes :

https://invent.kde.org/graphics/digikam/-/blob/master/core/libs/database/collection/collectionscanner_utils.cpp?ref_type=heads#L590

https://invent.kde.org/graphics/digikam/-/blob/master/core/libs/database/collection/collectionscanner_scan.cpp?ref_type=heads#L823

The DK/Setup/Collection/Ignored Directories configuration dialog page must
be patched to propose this kind of option.

I do not find any report in bugzilla to ignore specific files (not
directories). Please open a new whish in bugzilla in the section
Setup-Database:

https://bugs.kde.org/buglist.cgi?bug_status=UNCONFIRMED&bug_status=CONFIRMED&bug_status=ASSIGNED&bug_status=REOPENED&classification=Applications&component=Setup-Database&product=digikam&query_format=advanced

My best.

Gilles Caulier

Le jeu. 20 févr. 2025 à 11:44, Василий Васин <vvvmazda at mail.ru> a écrit :

> No, not this. My directory contains jpegs and lnk both, want exclude lnk
> only.
>
>
>
> Понедельник, 13 января 2025, 17:34 +03:00 от Gilles Caulier <
> caulier.gilles at gmail.com>:
>
> Hi,
>
> Try this :
>
>
> https://docs.digikam.org/en/setup_application/collections_settings.html#ignore-directories-from-your-collections
>
> Best
>
> Gilles Caulier
>
> Le lun. 13 janv. 2025 à 14:39, Василий Васин <vvvmazda at mail.ru
> <//e.mail.ru/compose/?mailto=mailto%3avvvmazda at mail.ru>> a écrit :
>
> Hello!
> I keep a database of a pair of cameras in two differences folders, and
> when photos were taken on the same day, I create a .lnk shortcut in both
> folders for each other. How can I prevent Digicam from reading this .lnk?
> adding «-lnk» to MIME exceptions didn't work.
>
> --
>
>
>
>
> --
> Василий Васин
> Отправлено из Почты Mail <https://trk.mail.ru/c/zzm979>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20250223/bde98b74/attachment.htm>


More information about the Digikam-users mailing list