[haiku-bugs] [Haiku] #18156: Support BQuery filtering by folder

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Mon, 19 Dec 2022 12:48:13 -0000

#18156: Support BQuery filtering by folder
------------------------------+--------------------------
 Reporter:  outsidecontext    |       Owner:  nobody
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Unscheduled
Component:  Kits/Storage Kit  |     Version:  R1/beta4
 Keywords:                    |  Blocked By:
 Blocking:                    |    Platform:  All
------------------------------+--------------------------
 When using Queries to find files it would be sometimes helpful to be able
 to filter the results by path / folder / location.

 Currently the query predicate syntax already supports filtering by the
 filename (using something like "name==abc*"). Similar there could be the
 ability to filter by location by providing a "location" attribute
 containing the path. E.g. to get all video files in the home folder:

 (location=/boot/home/*)&&(BEOS:TYPE==video/*)

 See also the forum discussion on https://discuss.haiku-os.org/t/tracker-
 query-by-location/12828
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/18156>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: