How to apply Live or Visual Filter to just the Path

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Jerry
Posts: 835
Joined: 05 May 2010 15:48
Location: The UnUnited States of America

How to apply Live or Visual Filter to just the Path

Post by Jerry »

Is there any way to apply the live or visual filter to just the path of files in the list? For example, I often have a search results list that I would like to then further filter by a pattern that just matches the paths of the files listed.

If the answer is currently no, I'd like to suggest it as feature, perhaps using some kind of flag or path: token.
Running on Windows 10 Pro 64-bit quad-core ASUS G752-VY notebook with 64 GB RAM, over 26 external USB3 drives attached via multiple powered hubs with letters and mount points, totaling 120+ TB. SCREEN SCALING: 125%

admin
Site Admin
Posts: 67270
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: How to apply Live or Visual Filter to just the Path

Post by admin »

It's clumsy but it works. Let's say you look for "blah" in the path, you can use this term:

Code: Select all

prop:System.ParsingPath:*blah*
It applies to the whole path including the file name.

Jerry
Posts: 835
Joined: 05 May 2010 15:48
Location: The UnUnited States of America

Re: How to apply Live or Visual Filter to just the Path

Post by Jerry »

admin wrote: ↑17 Feb 2021 10:52 It's clumsy but it works. Let's say you look for "blah" in the path, you can use this term:

Code: Select all

prop:System.ParsingPath:*blah*
Quite a handful to type in and not easy to remember! Also hard to apply and still keep the filter delay short, unless you paste in (especially with search results against many thousands of files, hundreds of thousands in my case.) Perhaps you can introduce a shorter equivalent? Something like /P that you added to Quick Search to enable full path searching in version v21.50.0124?

I was previously led to trying a workaround for this using Quick Search/Find Files with path matching (as in viewtopic.php?p=185373), but being able to easily match the Live Filter against the path is more useful and quicker, especially with different matches for the same search results list.
Running on Windows 10 Pro 64-bit quad-core ASUS G752-VY notebook with 64 GB RAM, over 26 external USB3 drives attached via multiple powered hubs with letters and mount points, totaling 120+ TB. SCREEN SCALING: 125%

admin
Site Admin
Posts: 67270
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: How to apply Live or Visual Filter to just the Path

Post by admin »

By "just the path" you mean the path without the filename, right?

Jerry
Posts: 835
Joined: 05 May 2010 15:48
Location: The UnUnited States of America

Re: How to apply Live or Visual Filter to just the Path

Post by Jerry »

admin wrote: ↑17 Feb 2021 15:40 By "just the path" you mean the path without the filename, right?
Hmm, yes, at least in the typical situations I encounter with a search results list. I guess that would be different behavior from the /P switch in Quick Search/Find Files. And I suppose it would be necessarily different because otherwise the live filter matching against the full path (with filename) would interfere with the search result items unless you used a regular expression which complicates things. Maybe a lowercase /p?
Running on Windows 10 Pro 64-bit quad-core ASUS G752-VY notebook with 64 GB RAM, over 26 external USB3 drives attached via multiple powered hubs with letters and mount points, totaling 120+ TB. SCREEN SCALING: 125%

admin
Site Admin
Posts: 67270
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: How to apply Live or Visual Filter to just the Path

Post by admin »

I'm thinking about adding a "path:" selector.

Visual Filters already have selectors like "attr:" or "size:" that correspond to the list columns of the same name. So "path:" would correspond to the Path column (which has the path without the filename). It would be consistent within this paradigm, but yes, it would be different from the /P switch and the "Path" checkbox in Find Files.

Jerry
Posts: 835
Joined: 05 May 2010 15:48
Location: The UnUnited States of America

Re: How to apply Live or Visual Filter to just the Path

Post by Jerry »

admin wrote: ↑17 Feb 2021 16:04 I'm thinking about adding a "path:" selector.
Makes sense.
Running on Windows 10 Pro 64-bit quad-core ASUS G752-VY notebook with 64 GB RAM, over 26 external USB3 drives attached via multiple powered hubs with letters and mount points, totaling 120+ TB. SCREEN SCALING: 125%

Jerry
Posts: 835
Joined: 05 May 2010 15:48
Location: The UnUnited States of America

Re: How to apply Live or Visual Filter to just the Path

Post by Jerry »

Just tried the new path: selector you added in version v21.50.0125. Works like a charm. Thanks!
Running on Windows 10 Pro 64-bit quad-core ASUS G752-VY notebook with 64 GB RAM, over 26 external USB3 drives attached via multiple powered hubs with letters and mount points, totaling 120+ TB. SCREEN SCALING: 125%

Post Reply