Page 1 of 1

How to replicate "*.pdf -contents:a" from File Explorer Search in XYP?

Posted: 19 Apr 2024 00:16
by PlorerXY6
Would like to replicate search query from File Explorer Search in XYP:
*.pdf -contents:a

Above in File Explorer finds pdfs that are not OCR'd. In XYP, I know there's the contents query in address bar as follows:
? *.pdf /contents=-a

As you see I tried to replicate the File Explorer "not" search of contents, but it's not working...anyone know how?

Re: How to replicate "*.pdf -contents:a" from File Explorer Search in XYP?

Posted: 19 Apr 2024 01:59
by jupe
?*.pdf /contents=term /contflags=;;i

Of course you can use Find Files panel Ctrl+7 instead though, tick Invert.

Re: How to replicate "*.pdf -contents:a" from File Explorer Search in XYP?

Posted: 19 Apr 2024 02:23
by PlorerXY6
jupe wrote: 19 Apr 2024 01:59 ?*.pdf /contents=term /contflags=;;i

Of course you can use Find Files panel Ctrl+7 instead though, tick Invert.
Thanks this seems to work (just modifying your term):
?*.pdf /contents=a /contflags=;;i