depth: missing from 'help -> search syntax'

Found a bug in "Everything"? report it here
Post Reply
hairypaulsack
Posts: 11
Joined: Wed Jun 10, 2015 11:37 pm

depth: missing from 'help -> search syntax'

Post by hairypaulsack »

Version 1.4.1.877 (x64)

depth: appears to be missing from the search syntax

Image
void
Developer
Posts: 17155
Joined: Fri Oct 16, 2009 11:31 pm

Re: depth: missing from 'help -> search syntax'

Post by void »

depth: is the same as parents:
parents: was added a long time ago, while depth: was recently added.


Added for the next release of Everything:
depth:<count> Search for files and folders with the specified number of parent folders.

Thanks for the bug report.
hairypaulsack
Posts: 11
Joined: Wed Jun 10, 2015 11:37 pm

Re: depth: missing from 'help -> search syntax'

Post by hairypaulsack »

Just an observation and not a biggie by any means, but I believe your have is listed as depth:<depth> in the help pages. I would assume most would interpret this as a number, but seeing how all other # functions followed with <count>, at least for me, caused momentary doubt


Actually having trouble with depth, but will open thread in proper place.

Thanks for the amazing product, at least 100x per day here ;)

EDIT: so as far as troubles, little trial and error fixed the problem. So

Code: Select all

depth:1 "C:\" 
produced all files and folders in C:\ only. When trying

Code: Select all

depth:1 "C:\some\arbt\path\"
obviously (now understanding proper syntax) nothing shows. (was expecting to find files and folders 1 child below "C:\some\arbt\path")

either I missed something or, at least for me, just had a hard time understanding that the depth or <count> always starts from root (or my computer lol?) so root = 0, drive:x=1 and so on...

Possible to add a note or example in man for others or am i just a normie not that use to it all :)
Last edited by hairypaulsack on Fri Feb 23, 2018 8:27 am, edited 2 times in total.
void
Developer
Posts: 17155
Joined: Fri Oct 16, 2009 11:31 pm

Re: depth: missing from 'help -> search syntax'

Post by void »

Changed to depth:<count>, thanks.
Post Reply