Page 1 of 2
How to Find Files by Extended Properties
Posted: 12 Sep 2015 03:05
by armsys
For example, to find version of 8.60 per the manual:
Code: Select all
prop:fileversion:8.60 // find all items with version *8.60*
Question:
How to find folders containing 5 files or fewer with meta (extended) properties?
Re: How to Find Files by Extended Properties
Posted: 12 Sep 2015 03:48
by highend
Extend my script from:
http://www.xyplorer.com/xyfc/viewtopic.php?f=3&t=14682
And let it check those files for "meta properties" as well.
rtfm "idh_quicknamesearch.htm";
To see how it's used in quicksearch()
Re: How to Find Files by Extended Properties
Posted: 12 Sep 2015 04:51
by armsys
I don't even have a cue to decipher your succinct procedure.
How can I insert parameters into the Name field in order to find folders with 5 files or fewer?
Re: How to Find Files by Extended Properties
Posted: 12 Sep 2015 08:47
by highend
You can't do that via the gui search. It let's you search for properties but it doesn't let you use the criteria "only for folders that contain 5 or less files".
Re: How to Find Files by Extended Properties
Posted: 12 Sep 2015 09:15
by armsys
Oh! I see. Thanks for your fast reply.
Kind of disappointment!

Re: How to Find Files by Extended Properties
Posted: 12 Sep 2015 10:07
by admin
I just added something:

Re: How to Find Files by Extended Properties
Posted: 12 Sep 2015 11:01
by armsys
Hi Don,
Thanks for your fast inclusion of a new Find Files feature.
I did test the latest beta (v15.70.0116) but the result is unpredictably random.
For example, the first folder in the screenshot contains 8,225 items but is still shown up in the result list.
I did re-test it with "Include subfolders" unchecked. The result is still faulty.
Re: How to Find Files by Extended Properties
Posted: 12 Sep 2015 13:46
by LittleBiG
armsys wrote:Hi Don,
Thanks for your fast inclusion of a new Find Files feature.
I did test the latest it (v15.70.0116) but the result is unpredictably random.
For example, the first folder in the screenshot contains 8,225 items but is still shown up in the result list.
I did re-test it with "Include subfolders" unchecked. The result is still faulty.
Try this:
because without quotes it means *5*.
Additionally, don't forget that the "show item count with folder sizes" option is recursive, the #itemcount property not. So you checked in a wrong way. Instead, I suggest creating a new custom column with script:
Code: Select all
return property("#ItemCount", <cc_item>);
Re: How to Find Files by Extended Properties
Posted: 12 Sep 2015 16:18
by admin
Hm, not very intuitive. I will improve it. Next version this will work as expected:
Re: How to Find Files by Extended Properties
Posted: 12 Sep 2015 16:21
by armsys
Thanks Don for your extreme perfection.
Re: How to Find Files by Extended Properties
Posted: 12 Sep 2015 16:26
by armsys
Hi LittleBiG,
Thanks for your help.
All SC you taught me works perfectly.
For example, the prop:#itemcount: "5" statement lists exactly only folders containing 5 items (files and/or folders).
However, it fails to find folders containing more or fewer than 5 items by the following statements:
prop:#itemcount: >= "5"
prop:#itemcount: <= "5"
prop:#itemcount: > "5"
prop:#itemcount: < "5"
Re: How to Find Files by Extended Properties
Posted: 12 Sep 2015 16:37
by admin
Wait for the next beta (soon), then you do this:
Code: Select all
prop:#itemcount: 5
prop:#itemcount: == 5 (same as above)
prop:#itemcount: != 5
prop:#itemcount: >= 5
prop:#itemcount: <= 5
prop:#itemcount: > 5
prop:#itemcount: < 5
Re: How to Find Files by Extended Properties
Posted: 12 Sep 2015 16:52
by armsys
Re: How to Find Files by Extended Properties
Posted: 12 Sep 2015 16:56
by admin
Re: How to Find Files by Extended Properties
Posted: 13 Sep 2015 01:59
by armsys
The latest beta (v15.70.0117 - 2015-09-12 16:54) works robustly and precisely as advertised.
prop:#itemcount: 1
This feature (hunting folders with, say, 1 item) alone saves me hundred hours in removing 10K+ ghost folders!!
Thanks Don.
