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.
Find Files by Length of Name AND by type of file OR by name
-
admin
- Site Admin
- Posts: 64915
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Find Files by Length of Name AND by type of file OR by n
Something like this?
Code: Select all
:*.txt and len: > 255FAQ | XY News RSS | XY X
Re: Find Files by Length of Name AND by type of file OR by n
I hadn't done this before so tried it out. For folks who don't (but should!
) normally think of filenames as including path, use "lent" i.e.
Code: Select all
lent: > 26 and :*.txt-
admin
- Site Admin
- Posts: 64915
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Find Files by Length of Name AND by type of file OR by n
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:*.txtFAQ | XY News RSS | XY X
Re: Find Files by Length of Name AND by type of file OR by n
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
er, the tour might help. Link in my signature below
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
XYplorer Beta Club