Bug 504949

Summary: Add checkbox "Exclude mountpoints" in searches
Product: [Applications] kfind Reporter: Nikoichu <nikolay_anzarov>
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nikoichu 2025-05-29 08:26:18 UTC
I often have to search my root "/" directory for files, but KFind goes off searching in my /home (that is mounted separately) and my other storage drives that are in "/run/media/..." which are huge and take a while to search through (especially if content search is enabled), and only muddy my search results.

I have not found any way to specify exclusions from the search (please let me know if there is some syntax or anything). A way to specify excluded directories would be nice to have, but is not within the scope of this feature request.

The solution I propose is to add a simple checkbox "Exclude mountpoints" that would detect when a directory is mounted as its own drive (if it matches any of the outputs from the command df-h for example?) and exclude searching in it. Obviously it would be greyed out if "Include subfolders" is not checked.