Help me how to search

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
raphaelmsx
Posts: 52
Joined: 10 Oct 2021 20:55

Help me how to search

Post by raphaelmsx »

Hi people! 8)

I have tons of folders like this:

[xpto] yada yada yada (2010)

How can I search for all the folders/subfolders that contain exactly 2010, and also 201* or 20** ?

Thanks!

highend
Posts: 14571
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Help me how to search

Post by highend »

# stands for any single digit
One of my scripts helped you out? Please donate via Paypal

jupe
Posts: 3292
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Help me how to search

Post by jupe »

Only if this is enabled,

Configuration | Find and Filter | Find Files & Branch View | Find Files | Enable extended pattern matching

or via switch.

admin
Site Admin
Posts: 64916
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Help me how to search

Post by admin »

Quick Search (F3) pattern: *20##* /d /matching=e (/d to only match folders; /matching=e to enable extended pattern matching, thanks jupe)

raphaelmsx
Posts: 52
Joined: 10 Oct 2021 20:55

Re: Help me how to search

Post by raphaelmsx »

Nice! :D

Also, how to perform the same search, but exclude folders that cointain *.opus and *.m4a files?

Thanks again! 8)

admin
Site Admin
Posts: 64916
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Help me how to search

Post by admin »

Is this a homework assignment?

jupe
Posts: 3292
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Help me how to search

Post by jupe »

Something like this should work, untested.

*20##* AND prop:#contains.*.opus:0 AND prop:#contains.*.m4a:0 /dE

All this stuff is documented in the help file, you should check it out under Quick Search

raphaelmsx
Posts: 52
Joined: 10 Oct 2021 20:55

Re: Help me how to search

Post by raphaelmsx »

jupe wrote: 09 Apr 2025 22:14 Something like this should work, untested.

*20##* AND prop:#contains.*.opus:0 AND prop:#contains.*.m4a:0 /dE

All this stuff is documented in the help file, you should check it out under Quick Search
Thanks very much, I'll test now and let you know.

I know that there's a help file, I just couldn't figure it out. :?

raphaelmsx
Posts: 52
Joined: 10 Oct 2021 20:55

Re: Help me how to search

Post by raphaelmsx »

admin wrote: 09 Apr 2025 21:48 Is this a homework assignment?
Sorry, english is not my primary language, what do you mean?

admin
Site Admin
Posts: 64916
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Help me how to search

Post by admin »

raphaelmsx wrote: 09 Apr 2025 22:39
admin wrote: 09 Apr 2025 21:48 Is this a homework assignment?
Sorry, english is not my primary language, what do you mean?
Just kidding. It sounded a bit like you needed the solution for school.

raphaelmsx
Posts: 52
Joined: 10 Oct 2021 20:55

Re: Help me how to search

Post by raphaelmsx »

admin wrote: 10 Apr 2025 09:33
raphaelmsx wrote: 09 Apr 2025 22:39
admin wrote: 09 Apr 2025 21:48 Is this a homework assignment?
Sorry, english is not my primary language, what do you mean?
Just kidding. It sounded a bit like you needed the solution for school.
:kidding: :kidding: :kidding: :kidding:

raphaelmsx
Posts: 52
Joined: 10 Oct 2021 20:55

Re: Help me how to search

Post by raphaelmsx »

Hello again!

Using both of your help and reading again the help file, I could get this to work:

*20##* AND prop:#contains.*.opus:1 OR prop:#contains.*.m4a:1 /dE

But only using Control+F and setting the mode to Boolean, it doesn't work with F3.

jupe
Posts: 3292
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Help me how to search

Post by jupe »

Try it with a colon prefix :

raphaelmsx
Posts: 52
Joined: 10 Oct 2021 20:55

Re: Help me how to search

Post by raphaelmsx »

jupe wrote: 10 Apr 2025 19:38 Try it with a colon prefix :
Thanks, that did it!

jupe
Posts: 3292
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Help me how to search

Post by jupe »

Alternatively you can enable this instead:

Configuration | Find and Filter | Find Files & Branch View | Find Files | Enable smart Boolean query parsing

Post Reply