How to visual filter folders without files?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

How to visual filter folders without files?

Post by LittleBiG »

From help:
Special Operators:
You can define a filter to apply only to files but show all folders. Simply prefix "\|" to the pattern(s). For example:
\|*.txt -> show only *.txt files and all folders
\|!* -> show all folders and no files
To hide all folders simply prefix "!\|" to the pattern(s). For example:
!\|*.txt -> show only *.txt files and hide all folders
!\|* -> show all files and no folders
You can also define a filter to apply only to folders but show all files. Simply prefix "*|" to the pattern(s). For example:
*|a* -> show only folders beginning with "a" and all files
*|!* -> show all files and no folders
But how can I filter only the folders without showing any files?

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: How to visual filter folders without files?

Post by yusef88 »

show folders only

Code: Select all

::filter attr: d

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: How to visual filter folders without files?

Post by LittleBiG »

yusef88 wrote:show folders only

Code: Select all

::filter attr: d
Really, thanks. I just have to add "and attr:d" to the name filter.

But I would be very curious why Don left out the fourth option:

Code: Select all

!*|a* -> show only folders beginning with "a" and hide all files

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

Re: How to visual filter folders without files?

Post by admin »

LittleBiG wrote:But I would be very curious why Don left out the fourth option:

Code: Select all

!*|a* -> show only folders beginning with "a" and hide all files
Good question! I don't know! Next beta will have it. :)

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: How to visual filter folders without files?

Post by LittleBiG »

The feature is complete now and simple. Thanks for it!

Post Reply