[dolphin] [Bug 427363] Filter support for exclude
Tuncay
bugzilla_noreply at kde.org
Wed Nov 20 22:12:53 GMT 2024
https://bugs.kde.org/show_bug.cgi?id=427363
Tuncay <redbulltrinker at arcor.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |redbulltrinker at arcor.de
--- Comment #3 from Tuncay <redbulltrinker at arcor.de> ---
(In reply to Elvis Angelaccio from comment #1)
> This would require switching to another filter engine which supports that
> kind of syntax.
For exclusion rather than inclusion of the regex, there is no need to switch
the engine. You have the full list of files and the filtered one. You only need
to remove the filtered ones from the full list, to get the exclude list. In
example:
1. Unfiltered
Filter:
Folder
├── doc2.assets
├── doc2.md
├── doc.assets
└── doc.md
2. Filtered
Filter: *.assets
Folder
├── doc2.assets
└── doc.assets
Take the Unfiltered list, then remove every file from the Filtered list. Voila
you get the Excluded list:
3. Excluded
Filter: !*.assets
Folder
├── doc2.md
└── doc.md
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the kfm-devel
mailing list