But how can I filter only the folders without showing any files?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
How to visual filter folders without files?
-
LittleBiG
- Posts: 1848
- Joined: 08 Apr 2011 12:57
- Location: Win10x64
How to visual filter folders without files?
From help:
-
yusef88
- Posts: 1148
- Joined: 28 Jan 2013 03:50
- Location: Windows 8.1 32-bit
Re: How to visual filter folders without files?
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?
Really, thanks. I just have to add "and attr:d" to the name filter.yusef88 wrote:show folders onlyCode: Select all
::filter attr: d
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?
Good question! I don't know! Next beta will have it.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
FAQ | XY News RSS | XY X
-
LittleBiG
- Posts: 1848
- Joined: 08 Apr 2011 12:57
- Location: Win10x64
Re: How to visual filter folders without files?
The feature is complete now and simple. Thanks for it!
XYplorer Beta Club