Page 1 of 1
Selection filter
Posted: 15 Apr 2006 18:24
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??
Re: Selection filter
Posted: 15 Apr 2006 18:54
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

) to find all sizes that are smaller than a certain length.
Re: Selection filter
Posted: 15 Apr 2006 21:13
by surrender
admin wrote: Yes, format Size column to display "Raw Bytes", then you can use some RegExp (don't ask me which

) 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).

Re: Selection filter
Posted: 17 Apr 2006 00:26
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

) 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.
Re: Selection filter
Posted: 17 Apr 2006 11:42
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.

.
Re: Selection filter
Posted: 18 Apr 2006 23:37
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.

.
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...
Posted: 19 Apr 2006 06:11
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.
Posted: 19 Apr 2006 08:04
by CyGho
And a good tool to make and learn regular expressions is
Regex Coach. Freeware
Posted: 21 Apr 2006 10:01
by surrender
Thanks for the suggestions guys.
