How to filter all folders and their subfolders in flat view?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
ilya
Posts: 66
Joined: 02 Jun 2009 22:42

How to filter all folders and their subfolders in flat view?

Post by ilya »

Please help, how to filter all folders and their subfolders in flat view? For example, I don't want to see in flat-list all content of ".svn" and ".idea" folders.

If this is possible, then second question: it is possible to configure this exception by default for every times when I use flat view without additional setting of visual filters?

And if this is impossible, then please accept this as suggestion for future development ;)

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: How to filter all folders and their subfolders in flat v

Post by TheQwerty »

8) You know by the same token I've long wished (though only to myself) for a list of Always Excluded Folders when searching. Especially, after I discover I've blown away my carefully constructed list when loading a template.

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

Re: How to filter all folders and their subfolders in flat v

Post by admin »

TheQwerty wrote:Especially, after I discover I've blown away my carefully constructed list when loading a template.
There's always the AutoBackup folder in <xydata>...

ilya
Posts: 66
Joined: 02 Jun 2009 22:42

Re: How to filter all folders and their subfolders in flat v

Post by ilya »

Hm... So there is no way to achive this? :(

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

Re: How to filter all folders and their subfolders in flat v

Post by admin »

ilya wrote:Hm... So there is no way to achive this? :(
No, currently not.

TheQuerty's "Always Excluded Folders" would be an approach to this, but I'm not sure if I want to do this. Something tells me that this will have high support costs... (users will ask me why they don't find their files anymore because they forgot about their "Always Excluded Folders").

ilya
Posts: 66
Joined: 02 Jun 2009 22:42

Re: How to filter all folders and their subfolders in flat v

Post by ilya »

Ok, but without "Always Excluded Folders" we can use visual filter to hide out some folders like ".svn" and all their content?
I just can't figure or find this magical VF pattern, nothing works.

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

Re: How to filter all folders and their subfolders in flat v

Post by admin »

ilya wrote:Ok, but without "Always Excluded Folders" we can use visual filter to hide out some folders like ".svn" and all their content?
I just can't figure or find this magical VF pattern, nothing works.
It's not possible currently. But I'll add a special switch /b to the next version by which you can "filter branches" (and let pass all files).

Examples:

1) Run a recursive search but exclude any branches starting with s*

Code: Select all

E:\Test\a\?!s* /br
2) Run a flat view but exclude any branches starting with s* OR with p*

Code: Select all

E:\Test\a\?!s*;p* /b:flat
The switch overwrites "Let folders pass all filters".

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

Re: How to filter all folders and their subfolders in flat v

Post by admin »

ilya wrote:Ok, but without "Always Excluded Folders" we can use visual filter to hide out some folders like ".svn" and all their content?
I just can't figure or find this magical VF pattern, nothing works.
So with the latest beta v10.60.0001, to exclude all content of ".svn" and ".idea" folders in a flat view, use this pattern:

Code: Select all

?!".svn";".idea" /b:flat
To exclude all content of folders beginning with "." use this pattern:

Code: Select all

?!.* /b:flat

ilya
Posts: 66
Joined: 02 Jun 2009 22:42

Re: How to filter all folders and their subfolders in flat v

Post by ilya »

Don, thank you very much! This works great! Flat view is very convinient and now I can use it in my work's projects too. Thanks!!!

Post Reply