Discussion related to "Everything" 1.5.
-
err_24546
- Posts: 79
- Joined: Wed Oct 11, 2023 1:47 am
Post
by err_24546 »
Using this works—it’ll search for files the same size as file1.txt and file2.txt:
Code: Select all
size:[getsize:"F:folder1\file1.txt"];[getsize:"F:\folder2\file2.txt"]
But when you point it at folders, it doesn’t work. You just get the whole database back:
Code: Select all
size:[getsize:"F:folder1"];[getsize:"F:\folder2"]
Is that expected?
-
void
- Developer
- Posts: 19870
- Joined: Fri Oct 16, 2009 11:31 pm
Post
by void »
[getsize:] only works for files.
Please try the following search instead:
Code: Select all
folder: GETPROPERTY($filename:,"size")==GETPROPERTY("C:\Folder1","size")
For multiple folders:
Code: Select all
folder: (GETPROPERTY($filename:,"size")==GETPROPERTY("C:\Folder1","size"))||(GETPROPERTY($filename:,"size")==GETPROPERTY("C:\Folder2","size"))
-
err_24546
- Posts: 79
- Joined: Wed Oct 11, 2023 1:47 am
Post
by err_24546 »
Thanks.
That works in Everything window. But how can you use that query via es.exe? I tried and doesn't work.
-
void
- Developer
- Posts: 19870
- Joined: Fri Oct 16, 2009 11:31 pm
Post
by void »
Formulas are not available from ES / IPC at the moment.
(I may add an option in the future to allow formulas)
Formulas only work from the main GUI.