Selection filter

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
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: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @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

RalphM
Posts: 2092
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 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-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 .

RalphM
Posts: 2092
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 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-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: 146
Joined: 29 Oct 2005 21:31
Location: Win 11, 25H2 26200.6899, 2560x1440 px, 100%
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