Page 1 of 1

Find Files by Length of Name AND by type of file OR by name

Posted: 25 Jul 2015 13:22
by umapati
I'm sure this is very simple, but I can't figure out how to do it. I want to combine len: >x when searching for a type of file (e.g. *.pdf) or other named file.
Help section says "Simply prefix "len:" to the search term in the name field." But "search term" here is simply the number for length--I think.

Re: Find Files by Length of Name AND by type of file OR by n

Posted: 25 Jul 2015 13:39
by admin
Something like this?

Code: Select all

:*.txt and len: > 255

Re: Find Files by Length of Name AND by type of file OR by n

Posted: 26 Jul 2015 20:48
by Papoulka
I hadn't done this before so tried it out. For folks who don't (but should! :D) normally think of filenames as including path, use "lent" i.e.

Code: Select all

lent: > 26 and :*.txt

Re: Find Files by Length of Name AND by type of file OR by n

Posted: 26 Jul 2015 20:50
by admin
Note that the initial colon is the Boolean marker. The second term needs a field prefix too if it is a different field from the first one. So it should look like this:

Code: Select all

:lent: > 26 and name:*.txt

Re: Find Files by Length of Name AND by type of file OR by n

Posted: 27 Jul 2015 11:50
by umapati
Great. Thank you. For beginnners like me a help section of vast size is needed for the wonderful power of XYplorer. But the Forum serves for that. Then again, could there perhaps be a short bibliography for the most necessary basics?

Re: Find Files by Length of Name AND by type of file OR by n

Posted: 29 Jul 2015 15:14
by bdeshi
er, the tour might help. Link in my signature below