How to exclude .lnk shortcut from reading by Digicam?
Maik Qualmann
metzpinguin at gmail.com
Mon Feb 24 07:08:23 GMT 2025
I don't think digiKam "sees" a *.LNK file. QIODevice will treat it just like a
symbolic link under Linux. We would have to disable following symbolic links.
But we would break the way it works for some users.
Maik
Am Montag, 24. Februar 2025, 04:46:12 Mitteleuropäische Normalzeit schrieb
Gilles Caulier:
> Hi Василий Васин,
>
> Alternative to test:
>
> Go to Setup/View/MimeType and add "-.lnk" in the images section to see if
> the lnk files are properly excluded from the database.
>
> If yes please give me feedback.
>
> Best regards
>
> Gilles Caulier
>
> Le dim. 23 févr. 2025 à 12:36, Gilles Caulier <caulier.gilles at gmail.com> a
>
> écrit :
> > 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/c
> > ollection/collectionscanner_utils.cpp?ref_type=heads#L590
> >
> >
> > https://invent.kde.org/graphics/digikam/-/blob/master/core/libs/database/c
> > ollection/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=CONFIRM
> > ED&bug_status=ASSIGNED&bug_status=REOPENED&classification=Applications&com
> > ponent=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#i
> >> gnore-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>
More information about the Digikam-users
mailing list