Page 1 of 1

depth: missing from 'help -> search syntax'

Posted: Fri Feb 23, 2018 7:57 am
by hairypaulsack
Version 1.4.1.877 (x64)

depth: appears to be missing from the search syntax

Image

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

Posted: Fri Feb 23, 2018 8:03 am
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.

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

Posted: Fri Feb 23, 2018 8:18 am
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 :)

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

Posted: Fri Feb 23, 2018 8:23 am
by void
Changed to depth:<count>, thanks.