Functions

General discussion related to "Everything".
Post Reply
vurtikas
Posts: 36
Joined: Fri Jan 08, 2010 11:28 am

Functions

Post by vurtikas » Wed Mar 26, 2014 4:40 pm

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

therube
Posts: 2377
Joined: Thu Sep 03, 2009 6:48 pm

Re: Functions

Post by therube » Wed Mar 26, 2014 8:31 pm

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

vurtikas
Posts: 36
Joined: Fri Jan 08, 2010 11:28 am

Re: Functions

Post by vurtikas » Thu Mar 27, 2014 2:19 pm

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
You do not have the required permissions to view the files attached to this post.

therube
Posts: 2377
Joined: Thu Sep 03, 2009 6:48 pm

Re: Functions

Post by therube » Thu Mar 27, 2014 4:03 pm

What version of Everything?

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

(Thanks for that link :-).)

vurtikas
Posts: 36
Joined: Fri Jan 08, 2010 11:28 am

Re: Functions

Post by vurtikas » Fri Mar 28, 2014 5:44 pm

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.

ppp_200x
Posts: 1
Joined: Wed Apr 30, 2014 4:44 am

Re: Functions

Post by ppp_200x » Wed Apr 30, 2014 5:17 am

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

vsub
Posts: 274
Joined: Sat Nov 12, 2011 11:51 am

Re: Functions

Post by vsub » Wed Apr 30, 2014 6:54 am

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

Post Reply