Page 1 of 1

Find all folders NOT containing *fr?.jpg files

Posted: 11 Apr 2026 13:36
by piverto
Hello,

I cannot manage this

Very numerous folders, and sometines no jpg file with filename containing the string fr in the filename.
I need to correct this for management of my collection. Manually it is almost impossible.

Thanks in advance !!

Re: Find all folders NOT containing *fr?.jpg files

Posted: 11 Apr 2026 13:50
by highend
>^.*fr.\.jpg /x
2026-04-11_13-50-20.png

Re: Find all folders NOT containing *fr?.jpg files

Posted: 11 Apr 2026 14:21
by piverto
Thanks a lot for your answer.

I have typed that in the search window, and as result I get ALL my folders ( exactly same number that I get when in windows explorer selecting them all)

Attached screenshot of my XYplorer

Am I doing someting wrong ?

TIA
Capture1.jpg

Re: Find all folders NOT containing *fr?.jpg files

Posted: 11 Apr 2026 14:26
by piverto
Oh

Looking at my post I see I have inserted a space between *fr. and the \ ...

I just tried after having deleted it and now find 'only' 3239 folders ....


That is still a lot, and contains 'root' folders in my system.

Is there a way to add a selection criterium by finding all folders as you showed me BUT THAT contain wav files ?

TIA so much

Re: Find all folders NOT containing *fr?.jpg files

Posted: 11 Apr 2026 17:38
by highend
Am I doing someting wrong ?
You've entered the pattern wrong...
Is there a way to add a selection criterium by finding all folders as you showed me BUT THAT contain wav files ?
*.wav /p
should work (can't try atm)

Re: Find all folders NOT containing *fr?.jpg files

Posted: 11 Apr 2026 18:43
by piverto
Hi, thanks

But to get in one run all folders not containing *fr.jpg AND containing a wav file ?
How di I combine these two criteria please

I have tried toi simply add it to the end of previous search, but that didn't work

>^.*fr.\jpg /x *.wav /p

Re: Find all folders NOT containing *fr?.jpg files

Posted: 12 Apr 2026 00:24
by jupe
Here is one way I think should do it, untested though:

:prop:#contains.*fr?.jpg:0 AND prop:#contains.*.wav:1 /d

Re: Find all folders NOT containing *fr?.jpg files

Posted: 12 Apr 2026 10:38
by piverto
Hi,

super !
Your last suggestion works perfectly ! :appl:

:prop:#contains.*fr?.jpg:0 AND prop:#contains.*.wav:1 /d

I have just added a ? after the fr in the filename, since some end with fr, others withh fr0 or fr1.

Last question if I do not abuse : how can I select all folders that contain CD in their name ( ie CD1, CD2, CD3 etc) ;)

Cordially
Thank you so much. You greatly helped me.

Where can I fin a refernce and examples of the 'langage' you use to do these searches ? :roll:

Re: Find all folders NOT containing *fr?.jpg files

Posted: 12 Apr 2026 18:03
by highend
>cd\d+

Execute this from the address bar:
rtfm "idh_find.htm";

Re: Find all folders NOT containing *fr?.jpg files

Posted: 13 Apr 2026 10:37
by piverto
Hi,

thanks for th eanswers. It works

Except for the : rtfm "idh_find.htm";

I get a message scripting not available in home edition .... and I have the home edition lifetime.... registered of course
except enterprise versions I do not find another XYPlorer version. Do I miss something there ?

Re: Find all folders NOT containing *fr?.jpg files

Posted: 13 Apr 2026 10:44
by highend
Then open the .chm file and read:
Main Topics - Quick Search
Main Topics - Info Panel - Find Files Tab

Re: Find all folders NOT containing *fr?.jpg files

Posted: 13 Apr 2026 11:03
by piverto
:idea: thanks !