Finding all files that have cat and not dog works just fine with the following:
:cat AND NOT dog
I now want to exclude not only dog but also bird and bees.
What is the correct expression? My old birdbrain has failed in
reading the highly 'technical' stuff available that I'm sure has the answer.
Thanks in advance,
pat
Find v Exclude
-
highend
- Posts: 14996
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Find v Exclude
:cat AND NOT (bird OR dog OR bee)
One of my scripts helped you out? Please donate via Paypal
-
pat55
- Posts: 287
- Joined: 15 Mar 2016 22:27
Re: Find v Exclude
Thanks - works like a charm.
I tried to exclude four items - it worked - is there a limit on number of exclusions
or on using caps or not? (I used all capital letters.)
p
I tried to exclude four items - it worked - is there a limit on number of exclusions
or on using caps or not? (I used all capital letters.)
p
-
highend
- Posts: 14996
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Find v Exclude
Lower / uppercase for and, or, not doesn't matter
Limit? I don't know, ask Don
Limit? I don't know, ask Don
One of my scripts helped you out? Please donate via Paypal
-
admin
- Site Admin
- Posts: 66672
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
kunkel321
- Posts: 664
- Joined: 10 Jun 2012 03:45
- Location: Near Seattle
Re: Find v Exclude
I think that was a challenge....admin wrote:No limit.
ste(phen|ve) kunkel
Scaling: Main monitor 125%, Secondary monitor on the right 100%
OS: Win 10. XYplorer version: Latest beta, unless specified.
Scaling: Main monitor 125%, Secondary monitor on the right 100%
OS: Win 10. XYplorer version: Latest beta, unless specified.
-
admin
- Site Admin
- Posts: 66672
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Find v Exclude
OK, the edit box containing the name pattern is limited to 2 GB (1 billion characters), and XY supports "only" 256 nesting levels (logical parentheses).
Now you show me a name patterns that is too large for this AND that you understand.
FAQ | XY News RSS | XY X
XYplorer Beta Club