Page 1 of 1

How to visual filter folders without files?

Posted: 11 Jul 2014 22:30
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?

Re: How to visual filter folders without files?

Posted: 11 Jul 2014 22:42
by yusef88
show folders only

Code: Select all

::filter attr: d

Re: How to visual filter folders without files?

Posted: 12 Jul 2014 12:40
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

Re: How to visual filter folders without files?

Posted: 12 Jul 2014 13:02
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. :)

Re: How to visual filter folders without files?

Posted: 12 Jul 2014 14:00
by LittleBiG
The feature is complete now and simple. Thanks for it!