Page 1 of 1

Functions

Posted: Wed Mar 26, 2014 4:40 pm
by vurtikas
How do i use functions? When i open Everything it lists 428,816 objects and seems to work yet if i type

attrib:L

in the search box i get 0 results. What am i doing wrong?

Thanks

Re: Functions

Posted: Wed Mar 26, 2014 8:31 pm
by therube
There is no 'L' attribute.

Try something like 'attrib:a'.

Also generally better to filter first before applying a function.
(That way it only has to apply the function to a subset of "all" files.)

> everything .ini attrib:a


> ATTRIB [+R | -R] [+A | -A ] [+S | -S] [+H | -H] [drive:][path][filename] [/S [/D]]
> R Read-only file attribute.
> A Archive file attribute.
> S System file attribute.
> H Hidden file attribute.

(possibly some others?)

> C Compressed
> D Directory
> E Encrypted

Re: Functions

Posted: Thu Mar 27, 2014 2:19 pm
by vurtikas
Hey thanks for replying

I tried what you suggested and this is what i got:
everything.PNG
I don't know what's going wrong there except the feeling that i'm using it wrong.

As to attrib:l it supposed to find symlinks and the like.It's mentioned in the search syntax thread http://forum.voidtools.com/viewtopic.php?f=5&t=1970
attrib:<attributes>
attributes:<attributes>
Search for files and folders that have the specified attributes set.

<attributes> can be zero or more of the following:
R Read only
H Hidden
S System
D Directory
A Archive
V Device
N Normal
T Temporary
P Sparse file
L Reparse point
C Compressed
O Offline
I Not content indexed
E Encrypted

Re: Functions

Posted: Thu Mar 27, 2014 4:03 pm
by therube
What version of Everything?

Try, http://forum.voidtools.com/viewtopic.php?f=9&t=2217.

(Thanks for that link :-).)

Re: Functions

Posted: Fri Mar 28, 2014 5:44 pm
by vurtikas
Damn I should've checked that before posting. It's 1.2.1.371. I got it from ninite.com and assumed it was the latest.

After updating using your link it works as it should. Thanks for helping me out.

Re: Functions

Posted: Wed Apr 30, 2014 5:17 am
by ppp_200x
Please help me. how I can search for files using regular expression of a desired size eg small or medium or kb?
for example, if I type

>(jpg|png)$

List files of various sizes, but if typing

>(jpg|png)$ size: medium

or well

>(jpg|png)$ size:>100kb

does not work any of the previous two, not list anything, having sizes of these files, I tried it on several versions of everything

Re: Functions

Posted: Wed Apr 30, 2014 6:54 am
by vsub
ppp_200x wrote:Please help me. how I can search for files using regular expression of a desired size eg small or medium or kb?
ext:jpg,png size:>100kb
When you use | it means the the filters will be applied only to one of the sides(where the filters are)
This will search for jpg files(any size) and png files which are bigger than 100kb
jpg|png size:>100kb
This will search for jpg files(bigger than 100kb) and png files(any size)
jpg size:>100kb|png

Like...search for file with those filters OR(|) for files with those filters