Selection filter

Things you’d like to miss in the future...
Post Reply
surrender
Posts: 623
Joined: 23 Oct 2005 08:53
Location: Berlin, Germany

Selection filter

Post by surrender »

I tried the new beta with selection filter and i think its very handy tool. Biig kisses to this.

But there are some issues.
size:? KB -> selects all items < 10 KB
This works only when the size format is set to KB (rounded up). and partly with Flexible (rounded up).

Same might be true with date format selection, but i have not tested it.

Also, is there any way to select files under 100kb, 1mb etc??

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

Re: Selection filter

Post by admin »

No surprise to me. I forgot to mention in the history (just edited it):
"The comparison that results in selections on a match is a case- insensitive string comparison (not number or date comparison)."
surrender wrote:Also, is there any way to select files under 100kb, 1mb etc??
Yes, format Size column to display "Raw Bytes", then you can use some RegExp (don't ask me which :wink: ) to find all sizes that are smaller than a certain length.

surrender
Posts: 623
Joined: 23 Oct 2005 08:53
Location: Berlin, Germany

Re: Selection filter

Post by surrender »

admin wrote: Yes, format Size column to display "Raw Bytes", then you can use some RegExp (don't ask me which :wink: ) to find all sizes that are smaller than a certain length.
Well, no time to learn RegExp. I will do it via size in find files (its faster that way). :D

Online
RalphM
Posts: 1935
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Selection filter

Post by RalphM »

surrender wrote:Also, is there any way to select files under 100kb, 1mb etc??
admin wrote:Yes, format Size column to display "Raw Bytes", then you can use some RegExp (don't ask me which :wink: ) to find all sizes that are smaller than a certain length.
Well here's the necessary selection filter with a RegExp:
"size:>^\d{1,5}$" Finds all files with a size of less than 100000 bytes
(1 to 5 digits in size column)
"size:>^\d{1,4}$" Finds all files with a size of less than 10000 bytes
(1 to 4 digits in size column)
a.s.o.
Ralph :)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)

surrender
Posts: 623
Joined: 23 Oct 2005 08:53
Location: Berlin, Germany

Re: Selection filter

Post by surrender »

RalphM wrote: "size:>^\d{1,5}$" Finds all files with a size of less than 100000 bytes
(1 to 5 digits in size column)
"size:>^\d{1,4}$" Finds all files with a size of less than 10000 bytes
(1 to 4 digits in size column)
a.s.o.
Thanks for that. Works fine here. I guess its time to learn regexp as i can see how handy it is. :D .

Online
RalphM
Posts: 1935
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Selection filter

Post by RalphM »

surrender wrote: Thanks for that. Works fine here. I guess its time to learn regexp as i can see how handy it is. :D .
Sure no problem, and yes, whenever the usual find or search abilities don't satisfy the needs then have a look at RegEx and the good thing is, it's not as difficult as it seems at first.
Have fun with it...
Ralph :)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)

Gandolf

Post by Gandolf »

I think this has been mentioned before, there is a good article on the subject at http://www.regular-expressions.info/ which is well worth the read.

CyGho
Posts: 136
Joined: 29 Oct 2005 21:31
Location: The Netherlands
Contact:

Post by CyGho »

And a good tool to make and learn regular expressions is Regex Coach. Freeware
Software: should we be aware because it's soft ? I like to think not !

surrender
Posts: 623
Joined: 23 Oct 2005 08:53
Location: Berlin, Germany

Post by surrender »

Thanks for the suggestions guys. :D

Post Reply