Page 1 of 1

Help me how to search

Posted: 09 Apr 2025 20:33
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!

Re: Help me how to search

Posted: 09 Apr 2025 20:42
by highend
# stands for any single digit

Re: Help me how to search

Posted: 09 Apr 2025 20:47
by jupe
Only if this is enabled,

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

or via switch.

Re: Help me how to search

Posted: 09 Apr 2025 20:48
by admin
Quick Search (F3) pattern: *20##* /d /matching=e (/d to only match folders; /matching=e to enable extended pattern matching, thanks jupe)

Re: Help me how to search

Posted: 09 Apr 2025 21:41
by raphaelmsx
Nice! :D

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

Thanks again! 8)

Re: Help me how to search

Posted: 09 Apr 2025 21:48
by admin
Is this a homework assignment?

Re: Help me how to search

Posted: 09 Apr 2025 22:14
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

Re: Help me how to search

Posted: 09 Apr 2025 22:17
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. :?

Re: Help me how to search

Posted: 09 Apr 2025 22:39
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?

Re: Help me how to search

Posted: 10 Apr 2025 09:33
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.

Re: Help me how to search

Posted: 10 Apr 2025 17:55
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:

Re: Help me how to search

Posted: 10 Apr 2025 18:44
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.

Re: Help me how to search

Posted: 10 Apr 2025 19:38
by jupe
Try it with a colon prefix :

Re: Help me how to search

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

Re: Help me how to search

Posted: 10 Apr 2025 20:01
by jupe
Alternatively you can enable this instead:

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