Folder view: Hide directories and show modified files only

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
prino
Posts: 358
Joined: 18 Mar 2012 21:14
Location: Vilnius, Lithuania
Contact:

Folder view: Hide directories and show modified files only

Post by prino »

I assumed that

Code: Select all

attr:a and !attr:d
would do it, but it doesn't, and even

Code: Select all

!attr:d
still shows plenty of directories.

How do I hide them, I only want to see the (usually) very few changed files, and not also the several dozens of directories...

And yes, no directories have the 'a' bit set!
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy (& W7-64 Pro @ 100%)
At last, a tiny bit of programming here... :mrgreen:

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Folder view: Hide directories and show modified files only

Post by highend »

As a visual filter? attr:a and !attr:d doesn't show any directory at all here. Regardless if with or without "A" set...
One of my scripts helped you out? Please donate via Paypal

prino
Posts: 358
Joined: 18 Mar 2012 21:14
Location: Vilnius, Lithuania
Contact:

Re: Folder view: Hide directories and show modified files only

Post by prino »

A picture paints a thousand words:
xy.png
To see the attached files, you need to log into the forum.
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy (& W7-64 Pro @ 100%)
At last, a tiny bit of programming here... :mrgreen:

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Folder view: Hide directories and show modified files only

Post by highend »

Maybe you should have said that you are in branch view^^

Then either disable it on the fly via the branch view icon in the toolbar or via options:
Configuration | Find and Filter | Find Files & Branch View | Branch View | [ ] Let folders pass all filters
One of my scripts helped you out? Please donate via Paypal

prino
Posts: 358
Joined: 18 Mar 2012 21:14
Location: Vilnius, Lithuania
Contact:

Re: Folder view: Hide directories and show modified files only

Post by prino »

highend wrote: ↑04 Feb 2021 19:15 Maybe you should have said that you are in branch view^^
And why would that make any difference for filtering? There is already a "path" column, so why would I need to see the directories by themselves?
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy (& W7-64 Pro @ 100%)
At last, a tiny bit of programming here... :mrgreen:

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

Re: Folder view: Hide directories and show modified files only

Post by admin »

If you use ! as NOT in Visual Filters you should tick this: Configuration | Find and Filter | Filters & Type Ahead Find | Visual Filters | Enable extended pattern matching

prino
Posts: 358
Joined: 18 Mar 2012 21:14
Location: Vilnius, Lithuania
Contact:

Re: Folder view: Hide directories and show modified files only

Post by prino »

admin wrote: ↑08 Feb 2021 10:59 If you use ! as NOT in Visual Filters you should tick this: Configuration | Find and Filter | Filters & Type Ahead Find | Visual Filters | Enable extended pattern matching
Doesn't do anything, I still see the directories in Folder View, even with the above item ticked.
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy (& W7-64 Pro @ 100%)
At last, a tiny bit of programming here... :mrgreen:

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

Re: Folder view: Hide directories and show modified files only

Post by admin »

Doing exactly what?

prino
Posts: 358
Joined: 18 Mar 2012 21:14
Location: Vilnius, Lithuania
Contact:

Re: Folder view: Hide directories and show modified files only

Post by prino »

Look at the image in the original post. I'm in "Branch View" and I only want to see files with the Archive attribute, given that there is already a column "Path". This branch contains only a few changed files and directories, if I go up one level, there may be a few more changed files, but dozens and dozens of directories, and I really don't want to see those!
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy (& W7-64 Pro @ 100%)
At last, a tiny bit of programming here... :mrgreen:

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

Re: Folder view: Hide directories and show modified files only

Post by admin »

So what about this tip:
highend wrote: ↑04 Feb 2021 19:15 Maybe you should have said that you are in branch view^^

Then either disable it on the fly via the branch view icon in the toolbar or via options:
Configuration | Find and Filter | Find Files & Branch View | Branch View | [ ] Let folders pass all filters

prino
Posts: 358
Joined: 18 Mar 2012 21:14
Location: Vilnius, Lithuania
Contact:

Re: Folder view: Hide directories and show modified files only

Post by prino »

admin wrote: ↑10 Feb 2021 17:04 So what about this tip:
highend wrote: ↑04 Feb 2021 19:15 Maybe you should have said that you are in branch view^^

Then either disable it on the fly via the branch view icon in the toolbar or via options:
Configuration | Find and Filter | Find Files & Branch View | Branch View | [ ] Let folders pass all filters
My I kindly suggest that you also add this option to the Configuration | Find and Filter | Visual Filters option. It is after all Visual Filter option...
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy (& W7-64 Pro @ 100%)
At last, a tiny bit of programming here... :mrgreen:

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

Re: Folder view: Hide directories and show modified files only

Post by admin »

Not sure what you mean. The identical option in 2 places?

prino
Posts: 358
Joined: 18 Mar 2012 21:14
Location: Vilnius, Lithuania
Contact:

Re: Folder view: Hide directories and show modified files only

Post by prino »

admin wrote: ↑01 Mar 2021 12:00 Not sure what you mean. The identical option in 2 places?
Yes, that's exactly what I mean.

Sometimes these things make sense, just as it makes sense to inline some code rather than putting up with a single instance of a 4 instruction/18-byte instruction subroutine that is called three times with a 5-byte call instruction. Make it into an "include" or whatever VB calls these things, and you would still only have to change it in one place.
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy (& W7-64 Pro @ 100%)
At last, a tiny bit of programming here... :mrgreen:

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

Re: Folder view: Hide directories and show modified files only

Post by admin »

But the option only affects Branch Views, so it would not make sense to add it to Visual Filters .

prino
Posts: 358
Joined: 18 Mar 2012 21:14
Location: Vilnius, Lithuania
Contact:

Re: Folder view: Hide directories and show modified files only

Post by prino »

admin wrote: ↑02 Mar 2021 09:36 But the option only affects Branch Views, so it would not make sense to add it to Visual Filters .
But in Branch View it is a visual filter!

Why did I post this question in the first place? Exactly...
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy (& W7-64 Pro @ 100%)
At last, a tiny bit of programming here... :mrgreen:

Post Reply